question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Provide an API to setup default breadcrumbs

See original GitHub issue

I would like to ask you for API extension that will allow to setup default breadcrumbs that will be included in all future errors.

The use case is that we have some logic that detects issues with loading scripts (our own or 3rd party). If there is an error happens, we would like to include the fact about these issues to breadcrumbs. That way it will be simpler to see the source of an error.

What is the current behavior?

There is no way to provide default breadcrumbs that will be included in all future errors.

What is the expected behavior?

Some API, like Raven.setBreadcrumbsContext(), to setup breadcrumbs included in all future errors.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sbezkostnyicommented, Jun 22, 2018

@kamilogorek It works now, sorry for bothering you.

0reactions
sbezkostnyicommented, Jun 19, 2018

@kamilogorek ok, thank you. I’ll check why it doesn’t work for me that way.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Breadcrumbs Overview & API - ServiceNow Developers
Overriding default values for individual component styles is generally not recommended, as this can cause theming issues. To apply system-wide styling changes ...
Read more >
Breadcrumbs Interface - Sentry Developer Documentation
By default, all breadcrumbs are recorded as default , which makes them appear as a Debug entry, but Sentry provides other types that...
Read more >
Breadcrumbs for JavaScript | Sentry Documentation
This page provides an overview of manual breadcrumb recording and customization. Learn more about the information that displays on the Issue Details page ......
Read more >
Breadcrumbs API · Issue #134 · orchidhq/Orchid - GitHub
The API will come in the form of a new method getBreadcrumbs() on the OrchidPage object. Internally, the Page maintains a Prioritized list...
Read more >
Overriding Default Breadcrumbs Using Content Reference ...
You can use optional content reference attributes to override the default breadcrumb behavior for a target content reference when you want to do...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found