I want to use set a
dataCallback to add additional data to the Sentry fingerprint. I’m using Sentry via the Serverless framework plugin: https://github.com/arabold/serverless-sentry-plugin. Specifically, I’m using the Node version of Sentry. Here is where this is being used in my project: https://github.com/BKWLD/asana-gitlab-bridge/blob/master/functions/handler.js#L4-L7.
Because this plugin is calling the initial
Raven.config(), I am hopping I can add a
dataCallback later, after the Serverless plugin has called
My goal is to add extra fingerprinting so that the HTTP code and request URL from Axios calls gets used to fingerprint Exceptions. Currently all Axios errors are being grouped in Sentry, regardless of whether they are 400s or 502s (for example).