mirror of
https://github.com/minibits-cash/minibits_wallet.git
synced 2026-10-05 11:18:24 +00:00
NFC error handling
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user