Skip to content

Commit

Permalink
changed error text
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragos0000 committed Mar 1, 2024
1 parent 24ea6bd commit 8bfa922
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ def get_form_type_notice_type_and_legal_basis(cls, extracted_notice_subtype: str
filtered_df = ef_map.query(f"{E_FORMS_SUBTYPE_KEY}=='{extracted_notice_subtype}'").to_dict(orient='records')[0]
except:
raise Exception(
'No eform subtype was extracted from the notice content. Please check that the field exists in the XML content')
f'No mapping available for {extracted_notice_subtype} notice subtype. Please check that the field exists in the XML content if the notice subtype is not specified in this message')
try:
form_type = filtered_df[FORM_TYPE_KEY]
notice_type = filtered_df[E_FORM_NOTICE_TYPE_COLUMN]
Expand Down

0 comments on commit 8bfa922

Please sign in to comment.