Commit b6de72a1 authored by Ian Wood's avatar Ian Wood Committed by J. Fernando Sánchez
Browse files

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

parent 13cefbed
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment