From 581a37ea26e6ce9c99db6f0de5d27960527390a3 Mon Sep 17 00:00:00 2001 From: Jason Stephenson Date: Thu, 4 Aug 2011 16:02:15 -0400 Subject: [PATCH] Add some additional logging in SIP/Transaction/Feepayment.pm. This should help with debugging, etc. Signed-off-by: Jason Stephenson Signed-off-by: Bill Erickson --- Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm index 44580f432c..28de0dce68 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/SIP/Transaction/FeePayment.pm @@ -166,8 +166,11 @@ sub do_fee_payment { } else { $self->ok(0); if ($results && $U->event_code($results)) { + syslog('LOG_INFO', 'OILS: open-ils.actor.user.transactions.history.have_balance returned ' + . OpenSRF::Utils::JSON->perl2JSON($results)); $self->screen_msg(OILS_SIP_MSG_BILL_ERR); } else { + syslog('LOG_INFO', 'OILS: open-ils.actor.user.transactions.history.have_balance returned nothing'); $self->screen_msg(OILS_SIP_MSG_NO_BILL); } } -- 2.11.0