1
0
mirror of https://github.com/gsi-upm/senpy synced 2024-11-22 00:02:28 +00:00

chaged exception logging to 'exception()' in analysie()

This commit is contained in:
Ian Wood 2017-05-16 15:57:15 +01:00
parent f76b777b9f
commit 2958176686

View File

@ -178,7 +178,7 @@ class Senpy(object):
except (Error, Exception) as ex:
if not isinstance(ex, Error):
ex = Error(message=str(ex), status=500)
logger.error('Error returning analysis result')
logger.exception('Error returning analysis result')
raise ex
return resp