From c030b70db16d3d4fbde3e68bd7dde45ac6174262 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 2 Mar 2022 10:45:19 -0500 Subject: [PATCH] LP1904036 Improve billing failure reporting Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts index 7df7b6183e..dd660bab57 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/bills.component.ts @@ -343,7 +343,10 @@ export class BillsComponent implements OnInit, AfterViewInit { this.focusPayAmount(); }) - .catch(msg => console.debug('Payment Canceled:', msg)) + .catch(msg => { + this.reportError(msg); + console.debug('Payment Canceled or Failed:', msg) + }) .finally(() => { this.applyingPayment = false; this.refunding = false; -- 2.11.0