From 7f5cfe78dd4653ed778cb131e26e24be2e577277 Mon Sep 17 00:00:00 2001 From: milaGGL <107142260+milaGGL@users.noreply.github.com> Date: Wed, 8 Feb 2023 09:35:32 -0800 Subject: [PATCH] add error message --- packages/firestore/src/platform/rn/base64.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/firestore/src/platform/rn/base64.ts b/packages/firestore/src/platform/rn/base64.ts index 8d8733fbaab..f50c604ebf7 100644 --- a/packages/firestore/src/platform/rn/base64.ts +++ b/packages/firestore/src/platform/rn/base64.ts @@ -35,7 +35,7 @@ export function decodeBase64(encoded: string): string { ); } catch (e) { if (e instanceof DecodeBase64StringError) { - throw new Base64DecodeError('Invalid base64 string'); + throw new Base64DecodeError('Invalid base64 string: ' + e); } else { throw e; }