Skip to content
Snippets Groups Projects
Commit adbe88ce authored by Pavel Kácha's avatar Pavel Kácha
Browse files

DB now returns list of errors, not dict. Low level exception info is reported.

parent fe72957c
No related branches found
No related tags found
No related merge requests found
......@@ -275,7 +275,7 @@ class Database(Object):
def store_events(self, client, events):
errs = {} # See sendEvents and validation, should return something similar
errs = [] # See sendEvents and validation, should return something similar
return errs
......@@ -369,7 +369,7 @@ class Server(Object):
except Error as e:
exception = e
except Exception as e:
exception = Error("Server exception", 500, method=path)
exception = Error("Server exception", 500, method=path, exc=sys.exc_info())
if exception:
status = "%d %s" % (exception.error, exception.message)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment