Skip to content

Commit

Permalink
add error message
Browse files Browse the repository at this point in the history
  • Loading branch information
milaGGL committed Feb 8, 2023
1 parent 7293289 commit 7f5cfe7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/firestore/src/platform/rn/base64.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 7f5cfe7

Please sign in to comment.