raygun4js icon indicating copy to clipboard operation
raygun4js copied to clipboard

raygun.js does not check whether `withTags` is a function before passing it to raygun.rum.js

Open UberMouse opened this issue 6 years ago • 1 comments

This should be updated to call the function and pass the result to raygun.rum.js if it is a function.

UberMouse avatar Sep 10 '18 03:09 UberMouse

As above for custom data, withTags can now also accept a callback function. This will be called when the provider is about to send, to construct the tags. The function you pass to withTags should return an array (ideally of strings/Numbers/Dates).

This is a bug, since the documentation states we do this. Need to check if this is still happening, and fix it if so.

Widdershin avatar May 18 '22 05:05 Widdershin

Looks like this has been fixed within https://github.com/MindscapeHQ/raygun4js/pull/498 🎉 Closing this thread now

sumitramanga avatar Feb 05 '24 02:02 sumitramanga