Splunk Completes Acquisition of Plumbr Learn more

Javascript errors

There are some cases where Plumbr is unable to capture Javascript errors automatically eg. when frontend frameworks like Vue or React capture the errors themselves and don’t propagate them further.
In these cases it is possible to report the error via API. The errors are added to the current transaction.


try {
    if (window.PLUMBR) {
} catch (err) {}

Where err is either Javascript error object or a string with an error message.