diff --git a/core/utils.py b/core/utils.py index f49ef26..624cfff 100644 --- a/core/utils.py +++ b/core/utils.py @@ -51,7 +51,10 @@ class DatabaseResetOngoing(Exception): """Exception class for errors while the server is reimporting everything""" def __init__(self, message): - self.message = message + if message: + self.message = message + else: + self.message = f"Expo Database re-import ongoing on server.\nPlease wait 7 minutes.\n If still not working, contact a nerd." def __str__(self): return f"DatabaseResetOngoing: {self.message}"