mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-03-27 22:01:47 +00:00
Message while database reset ongoing.. untested
This commit is contained in:
@@ -47,7 +47,14 @@ sha = hashlib.new('sha256')
|
||||
|
||||
throw = 35.0
|
||||
|
||||
class DatabaseResetOngoing(Exception):
|
||||
"""Exception class for errors while the server is reimporting everything"""
|
||||
|
||||
def __init__(self, message):
|
||||
self.message = message
|
||||
|
||||
def __str__(self):
|
||||
return f"DatabaseResetOngoing: {self.message}"
|
||||
|
||||
# This is module-level executable. This is a Bad Thing. Especially when it touches the file system.
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user