mirror of
https://github.com/gsi-upm/senpy
synced 2024-12-22 13:08:13 +00:00
chaged exception logging to 'exception()' in analysie()
This commit is contained in:
parent
13cefbedfb
commit
b6de72a143
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user