Comments (1)
They are indeed lost, as most of the information in frameworks are passed through prototypes and custom getter methods. Although, we still copy all the information that's directly attached to the request - https://github.com/getsentry/raven-node/blob/master/lib/client.js#L608-L609
I'm not sure if we want another config option right now, as we're in the process of writing next major version of our JS SDKs and every new option, will make it more complicated.
There are two things that I can propose. We can either add more options to be handpicked (if they are "somewhat" generic) or prior to catching the error in the middleware (which I assume you already do if you follow our docs), you can attach those properties directly to req
object in the errorHandler
, so that they'll be copied over - https://github.com/getsentry/raven-node/blob/master/lib/client.js#L551-L568
from raven-node.
Related Issues (20)
- setUserContext Missing/Removed? HOT 1
- Stacktrace is showing compiled code and not the original source. HOT 8
- setExtraContext is not a function HOT 1
- Organisation prefixed npm package versions not shown HOT 2
- Warn/throw when using `captureException` without config HOT 2
- MaxListenersExceededWarning: Possible EventEmitter memory leak detected HOT 7
- it is better to add reason in this code HOT 1
- Sourcemaps were uploaded but Sentry displays only generated JavaScript code HOT 15
- Ignore Errors does not working HOT 7
- Do not omit non-standard ports in request url HOT 1
- Using raven-node within an Electron renderer process HOT 1
- `captureException` mutates (not merges) and does not send original `context` when first argument is not an Error instance HOT 1
- Circular/infinite loop encountered when passing model instance in `context` of `captureException` call that contains a circular reference HOT 5
- Add ability to clear breadcrumbs HOT 2
- Also report node version(s) HOT 2
- Causing expensive memory costs by using JSON.parse in 2.5.0 HOT 3
- Raven Is Assuming Errors Created From vm is not proper Error and ignore it's stack trace. HOT 8
- Write consoleAlerts to stderr HOT 2
- Feature Request | Allow Multiple Raven Instances HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from raven-node.