Merge pull request #31396 from openedx/ashultz0/print-all-exceptions
fix: catch even base exceptions when exiting
This commit is contained in:
@@ -120,7 +120,7 @@ class Command(BaseCommand):
|
||||
|
||||
try:
|
||||
self._handle_all_goals()
|
||||
except Exception: # pylint: disable=broad-except
|
||||
except BaseException: # pylint: disable=broad-except
|
||||
log.exception("Error while sending course goals emails: ")
|
||||
raise
|
||||
|
||||
|
||||
Reference in New Issue
Block a user