Fix a py3 error with exception formatting
The .message attribute of exceptions doesn't exist in py3. Change-Id: I6ea60156d24649448be316244ddd81f9f3d2ebae
This commit is contained in:
parent
9105cbb232
commit
4d4bed3711
@ -575,7 +575,7 @@ class App(object):
|
||||
try:
|
||||
self._syncOneChangeFromQuery(query)
|
||||
except Exception as e:
|
||||
return self.error(e.message)
|
||||
return self.error(str(e))
|
||||
with self.db.getSession() as session:
|
||||
try:
|
||||
changes = session.getChanges(query)
|
||||
|
Loading…
Reference in New Issue
Block a user