Skip to content

Commit

Permalink
RCAL-567 ruff exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
ddavis-stsci committed May 23, 2023
1 parent 873bdab commit 5cfba50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion romancal/associations/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ def save(self):
for asn in self.associations:
try:
(fname, serialized) = asn.dump(format=self.parsed.format)
except AssociationError as exception:
except AssociationError as exception: # noqa: F821
logger.warning('Cannot serialize association %s', asn)
logger.warning('Reason:', exc_info=exception)
continue
Expand Down

0 comments on commit 5cfba50

Please sign in to comment.