Fix #27. Also clear up error messages a bit
This commit is contained in:
@@ -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!")
|
||||
|
||||
Reference in New Issue
Block a user