Skip to content

Commit 497fc44

Browse files
Replace 'bad_fees' with our normal exception screen
1 parent dc1b3b3 commit 497fc44

1 file changed

Lines changed: 1 addition & 10 deletions

File tree

docassemble/EFSPIntegration/data/questions/efiling_integration.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -892,15 +892,6 @@ subquestion: |
892892
There are no fees associated with this filing.
893893
continue button field: review_fees_screen
894894
---
895-
id: bad fees
896-
event: bad_fees
897-
question: |
898-
Something went wrong
899-
subquestion: |
900-
Sorry, something went wrong when trying to figure out if you have to pay fees.
901-
902-
More details: ${ debug_display(fees_resp) }
903-
---
904895
depends on:
905896
- fees_resp
906897
code: |
@@ -940,7 +931,7 @@ code: |
940931
if fees_resp.is_ok():
941932
review_fees_screen
942933
else:
943-
bad_fees
934+
raise Exception(f"Was not able to calculate fees: {fees_resp}")
944935
review_fees = True
945936
---
946937
#############################

0 commit comments

Comments
 (0)