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.

<no message value> entries in Sentry from raven.js

See original GitHub issue

Versions:
raven.js 3.5.0 Sentry: 8.3.3 Exception Handler: AngularJS 1.5.8

Hi, I have one of the following in my AJS exception handler. This generates ‘no message value’ entries but more detailed content.

Raven.captureException(exception);

This, however, has a proper message header but much less detail in the content:

Raven.captureException(exception.stack);

For visual reference, I have the following generated in Sentry depending on when I pass ‘exception.stack’ vs ‘exception’ to Raven.captureException: Thoughts greatly appreciated.

screen shot 2016-08-18 at 9 52 05 am

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
benvinegarcommented, Oct 14, 2016

@vladgurovich – totally fair; we’ll try to better assess behavior changes as they correspond with Sentry server versions going forward.

2reactions
benvinegarcommented, Aug 30, 2016

Sentry: 8.3.3

@megabyzus @biggestT – okay, I totally missed this piece of information. You’re using older on-premise versions.

And yeah, this is the cause. In Sentry 8.6 we made some changes so that the message interface is no longer necessary. I should have noted this in my release notes for raven-js. An oversight on my part; I am developing against getsentry/sentry master almost 100% of the time.

So, a couple ideas here:

  1. revert back to raven-js 3.4.x … OR
  2. upgrade your Sentry to 8.6 (tougher)

I also recommend, if you are using on-premise Sentry, you should be pinning you raven-js versions explicitly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Usage | Sentry Documentation
Raven will automatically catch and report any unhandled errors originating inside this function (or anything it calls, etc), so you don't have to...
Read more >
raven-js Documentation
Raven.js is a tiny standalone JavaScript client for Sentry. ... Note: Without setting this, all messages will be rejected!
Read more >
Integrated error tracking compatibility with Sentry SDK - GitLab
Just tested on an ember application (javascript), I got an error 500. Please find the sentry request. fetch("https://gitlab.com/api/v4/error_tracking/collector/ ...
Read more >
How do I test that Sentry is reporting errors? - Stack Overflow
When execution is paused: in your console enter something like api = undefined and hit enter to update the state. Then continue execution...
Read more >
Changelog - Docs - Sentry Documentation
Changed the grouping and default in_app values for cocoa events. ... like raven-js will now able to securely send messages to Sentry, without...
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