From: Jason Stephenson Date: Thu, 4 Aug 2011 20:02:15 +0000 (-0400) Subject: Add some additional logging in SIP/Transaction/Feepayment.pm. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=581a37ea26e6ce9c99db6f0de5d27960527390a3;p=contrib%2FConifer.git 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 --- 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); } }