Comments (4)
@FdezRomero good idea. I've just released v1.4.0 which now allows you to overwrite the culprit
from opbeat-node.
Thanks @watson! You were superfast ;-)
from opbeat-node.
Hi @watson, I was checking some errors I sent with the custom culprit to Opbeat but they are showing with none in the web (I just see the error group number). I'm sending them like opbeat.captureError(err, { culprit: 'This is the culprit', extra: { url: some_url } });
. In the detail page of the error group it says "No culprit available".
Am I doing something wrong?
Thanks.
from opbeat-node.
@FdezRomero In your case I think the issue is related to that err
is not an Error
object but possibly just a string - am I right? There is a bug in v1.4.0 that means that if you just give a string to captureError
instead of an Error
object, then it will ignore your custom culprit. This have been fixed in v1.4.1.
But after re-reading your original issue, I see that you are trying to use the culprit to control the grouping inside Opbeat. Unfortunately the culprit is not used to group the errors. Instead I would suggest that you use a custom Error
object. You can make your own an call then FooError
and BarError
or use the default JavaScript error types - each type will then be grouped independently.
from opbeat-node.
Related Issues (20)
- An in-range update of pg is breaking the build 🚨
- An in-range update of express-graphql is breaking the build 🚨 HOT 1
- An in-range update of graphql is breaking the build 🚨
- An in-range update of generic-pool is breaking the build 🚨
- An in-range update of ws is breaking the build 🚨 HOT 1
- An in-range update of nock is breaking the build 🚨 HOT 2
- async/await HOT 1
- An in-range update of fast-safe-stringify is breaking the build 🚨 HOT 3
- An in-range update of ws is breaking the build 🚨 HOT 4
- An in-range update of pg is breaking the build 🚨 HOT 3
- An in-range update of nock is breaking the build 🚨 HOT 5
- An in-range update of koa is breaking the build 🚨 HOT 3
- An in-range update of uuid is breaking the build 🚨
- An in-range update of semver is breaking the build 🚨 HOT 1
- An in-range update of nock is breaking the build 🚨 HOT 11
- An in-range update of require-in-the-middle is breaking the build 🚨 HOT 2
- Exception when calling captureError with Express HOT 1
- How is the progress of support Restify? HOT 1
- Version 10 of node.js has been released
- An in-range update of tape is breaking the build 🚨 HOT 1
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 opbeat-node.