diff --git a/lib/modules/crash/index.js b/lib/modules/crash/index.js index 63cfa7e7..2b36553f 100644 --- a/lib/modules/crash/index.js +++ b/lib/modules/crash/index.js @@ -56,7 +56,7 @@ export default class Crash { * @param maxStackSize */ report(error: FirebaseError, maxStackSize: number = 10): void { - if (!error || !error.code || !error.message) return; + if (!error || !error.message) return; let errorMessage = `Message: ${error.message}\r\n`;