diff --git a/api/manage.py b/api/manage.py index ed67fd617..2c50c4082 100755 --- a/api/manage.py +++ b/api/manage.py @@ -12,4 +12,4 @@ warnings.warn( ) if __name__ == "__main__": - SystemExit(main()) + raise SystemExit(main()) diff --git a/changes/changelog.d/api-raise-system-exit.bugfix b/changes/changelog.d/api-raise-system-exit.bugfix new file mode 100644 index 000000000..618f07079 --- /dev/null +++ b/changes/changelog.d/api-raise-system-exit.bugfix @@ -0,0 +1 @@ +Raise SystemExit exception in API manage.py script