Skip to content

Commit

Permalink
update to validation error reporting to deal with item type included …
Browse files Browse the repository at this point in the history
…in error response
  • Loading branch information
aschroed committed May 31, 2024
1 parent 0a9596f commit eabcf77
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wranglertools/import_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,7 @@ def error_report(error_dic, sheet, all_aliases, connection, error_id=''):
elif error_description.endswith(nf_txt):
alias_bit = error_description.replace(nf_txt, '').replace("'", '')
if alias_bit:
alias_bit = alias_bit.split('/')[-1]
not_found = alias_bit.strip()
# ignore ones about existing aliases
if not_found and not_found in all_aliases:
Expand Down

0 comments on commit eabcf77

Please sign in to comment.