Skip to content

Commit

Permalink
Display more informative error messages.
Browse files Browse the repository at this point in the history
Show the log message on the error page to ease debugging.
  • Loading branch information
Rebecka Gulliksson committed Apr 22, 2016
1 parent e39cada commit 97c2b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/svs/message_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def abort_with_enduser_error(transaction_id, client_id, environ, logger,
"""
t, uid = _log_fail(logger, log_msg, transaction_id, client_id, environ,
**kwargs)
raise EndUserErrorResponse(t, uid, error_message)
raise EndUserErrorResponse(t, uid, log_msg)


def abort_with_client_error(transaction_id, transaction_session, environ,
Expand Down

0 comments on commit 97c2b13

Please sign in to comment.