From e35113f797cecedffb6e474ad322ef99f30d5cfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Wed, 10 Jan 2018 20:54:14 +0100 Subject: [PATCH] log exception details when saga fails (#21082) --- combo_plugin_nanterre/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo_plugin_nanterre/views.py b/combo_plugin_nanterre/views.py index 9d4f2fe..6e5788c 100644 --- a/combo_plugin_nanterre/views.py +++ b/combo_plugin_nanterre/views.py @@ -72,7 +72,7 @@ def saga_transaction(request): try: saga = rsu_post(request, 'saga/[user_nameid]/transaction/', payload) except: - logger.error('[rsu/saga] failed to create transaction ' + logger.exception('[rsu/saga] failed to create transaction ' 'for num_factures=%s', num_factures) messages.error(request, ERROR_MESSAGE) return HttpResponseRedirect(error_url)