Skip to content

Commit

Permalink
fix: raise error when profile creation breaks
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Cameron <[email protected]>
  • Loading branch information
JasonLovesDoggo committed Oct 2, 2024
1 parent d9f706f commit 6cbc3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions judge/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ def ready(self):
# These poor profileless users
profile = Profile(user=user, language=lang)
profile.save()
except DatabaseError:
pass
except DatabaseError as e:
raise e from SystemError

0 comments on commit 6cbc3f3

Please sign in to comment.