Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Stack trace features? #24
Comments
|
sendConsoleErrors value to true will send all the unhandled errors to the Loggly. Does this match what you're looking for? |
|
@dandv Try setting
You should be able to send stacktraces to Loggly. |
|
Here's what I mean by a stack trace: Judging by its description, sendConsoleErrors only seems to log unhandled errors, but there is no mention of stack traces on the client at https://www.loggly.com/docs/javascript/. |
|
@dandv are you talking about catched errors? or stack traces of unhandled errors? |
|
I'm looking for a client-side JS error logger for both caught and uncaught errors. Rollbar and {Track:js} seem to do the best job at the so far. See rollbar/rollbar.js#108. |
|
yeah the current functionality leaves allot to be desired |
|
I have a question. I have a minified js file and it's impossible to get a real error, for this problem I need to generate a source map file for each javascript file. How Loggy deals with it? @varshneyjayant |
|
@marcelodeveloper Loggly has source map for loggly-jslogger |
|
Sorry, I think that I didn't explain myself correctly. I have an app built using requirejs and I am generating the source map files for each one. My problem is that when I send to loggly the error exception I can't see the not-compiled version in the dashboard. Is it possible to see the non-compiled version instead of the compiled version in Loggly? Maybe there is a way to say Loggly to use the source map files before send the log exception. In that way I could see the error line and row easily and don't try to guess where the error happened. Thanks @varshneyjayant |
|
We were experiencing the same issue as described by @marcelodeveloper . |
|
For reference, this article on Sentry's blog thoroughly covers the implementation details to get a cross-browser stack trace. It's not trivial - you need to to invasively augment methods like |
|
Thanks for the link! We will review this next time we do an update of the JavaScript library, but there are a few other projects ahead of this one in the queue. |
|
Any update? |

Any plans for this? Nothing fancy like TrackJS's telemetry, but at least backtraces like the ones provided by Rollbar, Airbrake, or GetSentry.