Fix #27. Also clear up error messages a bit

This commit is contained in:
2026-08-08 00:26:02 +02:00
parent c5934d05c6
commit 6b98e65a41
2 changed files with 15 additions and 18 deletions
+1 -1
View File
@@ -133,4 +133,4 @@ def checkAccess(key: str, db: Session):
logger.info("No more auths found")
return False
except exc.NoResultFound:
raise Exception("No Access with that key found, this might be a db error")
raise Exception("No AccessAuth with that key found!")