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.

@sentry/browser does not report the user agent (browser name, OS)

See original GitHub issue

Package + Version

  • @sentry/browser
  • @sentry/node
  • raven-js
  • raven-node (raven for node)
  • other:

Version:

4.0.2

Description

I am trying to migrate from raven-js to @sentry/browser, and it seems that the new library isn’t sending the User Agent, so no browser or OS information is showing up in Sentry. With Raven, I used to have this nice header on any issue:

screenshot_20180920_105433

Did I miss a plugin (or “Integration”)?

BTW, a guide to migrate from raven to @sentry/browser would have been nice.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
BenoitZugmeyercommented, Sep 20, 2018

That was fast, awesome!

1reaction
kamilogorekcommented, Sep 20, 2018

Fixed in 4.0.3 🍻

Read more comments on GitHub >

github_iconTop Results From Across the Web

Default Integrations for JavaScript | Sentry Documentation
Before version 7.0.0 of the Sentry SDK, this integration was called UserAgent . It was renamed because the integration handles more than user-agent...
Read more >
How can I get the full User-Agent in Sentry dashboard?
I'm at the Sentry dashboard trying to make sense of an error, and it's showing Apple Mail 605.1.15 as an Browser, but I'm...
Read more >
fake-useragent - PyPI
Up-to-date simple useragent faker with real world database. ... By default fake-useragent will use it's local ( browsers.json ) data file as the...
Read more >
@sentry/browser | Yarn - Package Manager
Changelog. Unreleased. "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott. 7.28.0. feat(nextjs): Check for Vercel...
Read more >
Contexts Interface - Sentry Developer Documentation
Contexts are not well suited to data that is collected over time as the SDK ... Browser context carries information about the browser...
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