Ignore:
Timestamp:
10 Jan 2020, 12:28:18 (5 years ago)
Author:
Henrik Bettermann
Message:

Be more verbose.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/kofacustom.nigeria/trunk/src/kofacustom/nigeria/remita/helpers.py

    r15916 r15917  
    116116        payment.r_pay_reference = jr['RRR']
    117117    except KeyError:
    118         msg = _('Error: ${a}', mapping = {'a': payment.r_desc})
     118        msg = _('Error message from Remita: ${a}', mapping = {'a': payment.r_desc})
    119119        log = 'unsuccessful response for %s payment %s: %s' % (
    120             payment.p_category, payment.p_id, payment.r_desc)
     120            payment.p_category, payment.p_id, str(jr))
    121121        payment.p_state = 'failed'
    122122        notify(grok.ObjectModifiedEvent(payment))
Note: See TracChangeset for help on using the changeset viewer.