From b6de72a143b0c27e8c5daaf1f9fafa41aadb7845 Mon Sep 17 00:00:00 2001 From: Ian Wood Date: Tue, 16 May 2017 15:57:15 +0100 Subject: [PATCH] chaged exception logging to 'exception()' in analysie() --- senpy/extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/senpy/extensions.py b/senpy/extensions.py index e30fa14..a6ee3ec 100644 --- a/senpy/extensions.py +++ b/senpy/extensions.py @@ -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