Merge pull request #207 from hayanmind/feature/fix-crash-report
[crash] Support javascript plain error object in crash.report
This commit is contained in:
commit
931a7943a1
|
@ -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`;
|
||||
|
||||
|
|
Loading…
Reference in New Issue