Click the Start a free trial link to start a 15-day SaaS trial of our product and join our community as a trial user. If you are an existing customer do not start a free trial.
AppDynamics customers and established members should click the sign in button to authenticate.
My front end use jsnlog.logger to catch all unhandled exceptions in js code and call a handler in the .Net backend to post the exception details. I have verified this and it is working fine. However in AppD business transactions, this is being shown as an error, not sure what to do with this.. this error is just polluting the whole reporting..
Found the below link, it is talking about something related to overwriting window.onerror event, not sure if this is the cause: https://docs.appdynamics.com/display/PRO21/Handle+the+window.onerror+Event
Below screenshots shows what I see on my AppD reporting:
So I am not clear on why it is being considered an error here.
Any help would be highly appreciated here.
^ Edited by @Ryan.Paredez for an improved title and minor readability.
What would you like AppDynamics to do with this?
You can either exclude the transaction, which will remove it from being monitored at all, and you won't see it in the UI anymore.
Or you can use the Error Detection component to ignore certain messages like this, to keep the business transaction there, but not report as an error.
Thanks for your response.
What I am trying to understand is why is AppD treating this as error in first place? Though there was no error in that call. If it is confirmed as issue from AppD, I would go ahead and change my error detection settings as you have said.. Let me know if you have any thoughts.
AppDynamics is working as expected, remember AppD catches Errors which occurs within a Business Transaction context, as well as exceptions. And this also includes logging errors that are thrown.
You state yourself that you are catching exceptions this way, so AppD will alert that it's picking up exceptions.
AppD won't know that you don't want to classify the exceptions as errors.
All you need to do is in the error detection add an ignore rule, to exclude this from setting your Business Transaction as an error.
Hope I made sense:)