Skip to content

Commit

Permalink
log error
Browse files Browse the repository at this point in the history
  • Loading branch information
anna-parker committed Oct 7, 2024
1 parent 12a10e2 commit 47f81d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ena-submission/scripts/create_assembly.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,8 @@ def create_manifest_object(
address_string = (f'{address.get("line1", "")}, {address.get("line2", "")}, '
f'{address.get("city", "")}, {address.get("state", "")}, '
f'{address.get("postalCode", "")}, {address.get("country")}')
except:
logger.error("Was unable to create address, setting address to center_name")
except Exception as e:
logger.error(f"Was unable to create address, setting address to center_name due to {e}")

metadata = submission_table_entry["metadata"]
unaligned_nucleotide_sequences = submission_table_entry["unaligned_nucleotide_sequences"]
Expand Down

0 comments on commit 47f81d0

Please sign in to comment.