Skip to content

Crashlytics: all recordException in Firebase console are categorized and grouped under the same issue. #530

Closed Answered by NLueg
lubbo asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, this sounds like the feature that I proposed in #201 isn't used here. The mentioned issue is exactly the reason why I added the feature to include a JS stack trace. @lubbo you can use stracktrace-js to include the Stacktrace of an exception. By using this, every issue has its own group in the console. I use this error handler in my angular application:

import { ErrorHandler, Injectable } from '@angular/core';
import { FirebaseCrashlytics } from "@capacitor-firebase/crashlytics";
import * as StackTrace from 'stacktrace-js';

@Injectable({ providedIn: 'root' })
export class ShowAlertOnError implements ErrorHandler {
  async handleError(error: Error): Promise<void> {
    StackTrace.from…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by robingenz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants