Skip to content

Commit 2e9ce88

Browse files
committed
Log error from receipt printing failure
1 parent 97e1b2e commit 2e9ce88

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WooCommerce/Classes/ViewModels/CardPresentPayments/ReceiptPrintingCoordinator.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ struct ReceiptPrintingCoordinator {
1313
ServiceLocator.analytics.track(.receiptPrintCanceled)
1414
case .failure(let error):
1515
ServiceLocator.analytics.track(.receiptPrintFailed, withError: error)
16+
DDLogError("⛔️ Failed to print receipt: \(error.localizedDescription)")
1617
}
1718
}
1819

0 commit comments

Comments
 (0)