Skip to main content

All Questions

1 vote
1 answer
46 views

Javascript : How to log function parameter at exception time

I have a few function in my application in javascript function( param1, param2 ) { } Sometimes I have caught exception and sometimes uncaught exception My question is that: Is it possible to log out ...
qkhanhpro's user avatar
  • 5,300
4 votes
1 answer
5k views

Why does Winstonjs ExceptionHandler silence my node errors?

I've got a program written in Node in which I use Winstonjs for logging. I also have an exceptionHandler so that the node exceptions/errors also reach my logs. I now have a problem though. When I run ...
kramer65's user avatar
  • 54.1k
0 votes
1 answer
149 views

Disabling console exceptions on meteor production app

I use meteor build to bundle my app so that it can be deployed. However, I've noticed that the developer console gets a LOT of exception messages, mostly from debug.js (specifically realated to ...
blueren's user avatar
  • 2,880
2 votes
1 answer
923 views

Remote error logging in React Native

I want to be able to see the errors that happen in production in my React Native app. In my Cordova app I was doing something like window.onerror = function (error, msg, line) { Flurry.logError(....
Corentin S.'s user avatar
  • 6,000
0 votes
1 answer
373 views

How can I print an Exception stacktrace on javascript?

My function acctualy manages some envolved exceptions. Layer 1 re-throws the exception on layer 2. but it doesn't matter... my question is simple this works: throw { name:"RangeWithValues", ...
White_King's user avatar
8 votes
3 answers
6k views

AngularJS: serverside logging of clientside errors

I've rewritten a web application using angular. But now i have the problem that it's not as easy as window.onerror = function(...) { ... } to send clientside errors to the server. But this is really ...
Daniel's user avatar
  • 3,063
4 votes
1 answer
3k views

Javascript: How to log exception by default way and continue execution?

If an unhandled exception occur in javascript code all browsers create beauty message in its log including exception type, message and stack trace and/or useful link to the source line. Now I want to ...
Alexander  Pravdin's user avatar
1 vote
3 answers
1k views

How to write all javascript/Jquery exceptions to one text file?

I want to log/write all javascript errors to one text file when ever an error happens in my JavaScript functions or jQuery plugins. For eg. PHP page call fails, undefined var.. etc. like errors ...
DEVOPS's user avatar
  • 18.8k
2 votes
5 answers
442 views

Logging try{ ... } catch(e){ ... } using ajax : possible?

When I try the following in the chrome console, i get 'undefined' as the value of 'e': try{ var test=somethingInvalid(); } catch(e){ console.log(e); } How do I access the details of e? What ...
anonymous-one's user avatar
7 votes
3 answers
6k views

Strategies to JavaScript console.log/trace, etc

I am writing a rather large JavaScript software. I need to trace calls, log events, debug actions, while maintain performance and portability across browsers. Webkit and Firebug both offer console ...
Tower's user avatar
  • 103k