-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle SystemExit raised in the task. (#36986)
* Handle SystemExit raised in the task. * Add handling of system exit in tasks: * Exiting with a zero or None code signifies success, and the task does not return any value. * Exiting with other codes signifies an error. (cherry picked from commit 574d90f)
- Loading branch information
1 parent
ff10401
commit 98cc571
Showing
2 changed files
with
51 additions
and
2 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