mirror of
https://github.com/gsi-upm/senpy
synced 2024-11-22 00:02:28 +00:00
Merge branch 'drevicko/provide-analyse-traceback-in-log' into 0.8.x
This commit is contained in:
commit
c803f60fd4
@ -178,7 +178,7 @@ class Senpy(object):
|
|||||||
except (Error, Exception) as ex:
|
except (Error, Exception) as ex:
|
||||||
if not isinstance(ex, Error):
|
if not isinstance(ex, Error):
|
||||||
ex = Error(message=str(ex), status=500)
|
ex = Error(message=str(ex), status=500)
|
||||||
logger.error('Error returning analysis result')
|
logger.exception('Error returning analysis result')
|
||||||
raise ex
|
raise ex
|
||||||
return resp
|
return resp
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user