Skip to content

Commit 7f5cfe7

Browse files
committed
add error message
1 parent 7293289 commit 7f5cfe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/firestore/src/platform/rn/base64.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export function decodeBase64(encoded: string): string {
3535
);
3636
} catch (e) {
3737
if (e instanceof DecodeBase64StringError) {
38-
throw new Base64DecodeError('Invalid base64 string');
38+
throw new Base64DecodeError('Invalid base64 string: ' + e);
3939
} else {
4040
throw e;
4141
}

0 commit comments

Comments
 (0)