Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request - Breadcrumbs #5

Open
darktasevski opened this issue Jan 15, 2021 · 3 comments
Open

Feature request - Breadcrumbs #5

darktasevski opened this issue Jan 15, 2021 · 3 comments

Comments

@darktasevski
Copy link
Contributor

It would be nice if we could report breadcrumbs so that we can see what happened before the error.

Bugsnag docs for the reference: https://docs.bugsnag.com/platforms/javascript/koa/customizing-breadcrumbs/#adding-manual-breadcrumbs

@MilosRasic
Copy link
Contributor

Leaving breadcrumbs explicitly is supported using leaveBreadcrumb() function.

Does this satisfy your request or do you have an idea how we might enable implicit breadcrumb reporting in some cases?

bugsnag-js config API for this looks like this:

Bugsnag.start({ 
  enabledBreadcrumbTypes: ['error', 'log', 'navigation', 'request', 'user']
})

@darktasevski
Copy link
Contributor Author

darktasevski commented Jan 15, 2021

My bad, I had no idea that we already have the manual breadcrumb functionality 😅 Implicit breadcrumb reporting might be useful tho, particularly for navigation and requests.

That being said, I'm not sure that there is a way for us to detect navigation implicitly, as Roku doesn't have URL-s or concept of navigation in general except for screens, and most apps are going to have one native screen with many views. Same for requests, we could create an HTTP interceptor that is going to track network requests, but not sure if that can be done implicitly.

@MilosRasic
Copy link
Contributor

Cool, let's keep the issue open and hopefully anyone with ideas how to implement implicit breadcrumbs will post here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants