-
Notifications
You must be signed in to change notification settings - Fork 522
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't set transaction status to error on sys.exit(0) (#4025)
We set transaction status to `internal_error` if there is an exception exiting the `start_transaction` context manager. We don't check what kind of exception it was. Some exceptions aren't a sign of anything wrong, like `SystemExit` with a value of 0, so we shouldn't mark the transaction as failed in that case. Closes #4024
- Loading branch information
1 parent
bc72f78
commit d670a15
Showing
3 changed files
with
67 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters