From 4a73b4c877f685d5bb6cbf8b5136d2174c861d76 Mon Sep 17 00:00:00 2001 From: minibits-cash Date: Fri, 12 Jun 2026 21:52:55 +0200 Subject: [PATCH] NFC error handling --- src/screens/NfcPayScreen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/screens/NfcPayScreen.tsx b/src/screens/NfcPayScreen.tsx index f346c9b6..c0b57314 100644 --- a/src/screens/NfcPayScreen.tsx +++ b/src/screens/NfcPayScreen.tsx @@ -465,7 +465,7 @@ export const NfcPayScreen = observer(function NfcPayScreen({ route }: Props) { readerSessionActiveRef.current = true if (!tag || !tag.ndefMessage) { - throw new AppError(Err.NFC_ERROR, 'NFC tag reading failed', { tag, message: 'No NDEF message found on the tag.' }) + throw new AppError(Err.NFC_ERROR, 'NFC tag reading failed', { tag: JSON.stringify(tag), message: 'No NDEF message found on the tag.' }) } // Lock onto this tag and hand it to the payment flow. From here we keep the