log exception details when saga fails (#21082)

This commit is contained in:
Frédéric Péters 2018-01-10 20:54:14 +01:00 committed by Thomas NOEL
parent a139e29a0a
commit e35113f797
1 changed files with 1 additions and 1 deletions

View File

@ -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)