Skip to content

Commit

Permalink
correction to warning message default value report
Browse files Browse the repository at this point in the history
  • Loading branch information
phycodurus committed May 15, 2023
1 parent 3447d3d commit 16d0ce1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ def handle_igwn_message(message: JSONBlob, metadata: Metadata):
try:
save_test_alerts = settings.SAVE_TEST_ALERTS
except AttributeError as err:
logger.warning(f'{err} Using False as default value.')
save_test_alerts = True
logger.warning(f'{err} Using {save_test_alerts} as default value.')
if alert.get('superevent_id', '').startswith('M') and not save_test_alerts:
return None, None

Expand Down

0 comments on commit 16d0ce1

Please sign in to comment.