Skip to content

Commit

Permalink
Suppress all exceptions so only work when it works.
Browse files Browse the repository at this point in the history
  • Loading branch information
wtgee committed Dec 6, 2023
1 parent 24abdef commit 5e9be64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/panoptes/utils/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def deserialize_all_objects(obj):
return u.Quantity(obj)

# Try to parse a ISO-8061 datetime string.
with suppress(TypeError, ValueError, KeyError):
with suppress(Exception):
return date_parse(obj)

return obj
Expand Down

0 comments on commit 5e9be64

Please sign in to comment.