Merge pull request #31396 from openedx/ashultz0/print-all-exceptions

fix: catch even base exceptions when exiting
This commit is contained in:
Andrew Shultz
2022-12-05 12:42:57 -05:00
committed by GitHub

View File

@@ -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