Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/apps/competitions/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,11 +414,11 @@ def _get_error_string(error_dict):
mark_status_as_failed_and_delete_dataset(status, message)
raise e

except: # noqa: E722
except Exception as e: # noqa: E722
# These are critical uncaught exceptions, make sure the end user is at least informed
# that unpacking has failed -- do not share unhandled exception details
logger.error(traceback.format_exc())
message = "Contact an administrator, competition failed to unpack in a critical way."
message = "Unpacking the bundle failed. Here is the error log: {}".format(e)
mark_status_as_failed_and_delete_dataset(status, message)


Expand Down