Skip to content

Commit

Permalink
test: tested passing the error to post_log
Browse files Browse the repository at this point in the history
  • Loading branch information
aqeelat committed Dec 25, 2022
1 parent 5c4cae0 commit 7b6aa6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auditlog/receivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def _create_log_entry(
action=action,
changes=json.dumps(changes),
)
except Exception as e:
except BaseException as e:
error = e
finally:
post_log.send(
Expand Down

0 comments on commit 7b6aa6c

Please sign in to comment.