Skip to content
This repository has been archived by the owner on Jan 25, 2018. It is now read-only.

Commit

Permalink
Reveal rogue transaction status (bug 900147)
Browse files Browse the repository at this point in the history
  • Loading branch information
kumar303 committed Jul 31, 2013
1 parent 5dd298a commit baa623b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpay/pay/views.py
Expand Up @@ -210,7 +210,8 @@ def wait_to_start(request):
trans = {'status': None}

if trans['status'] in constants.STATUS_ENDED:
log.exception('Attempt to restart finished transaction.')
log.exception('Attempt to restart finished transaction {0} '
'with status {1}'.format(trans_id, trans['status']))
return _error(request, msg=_('Transaction has already ended.'))

if trans['status'] == constants.STATUS_PENDING:
Expand Down

0 comments on commit baa623b

Please sign in to comment.