Comments (5)
Removing the vueComponent
optional parameter from rollbar.error
method helped me to prevent app freeze.
from rollbar.js.
I was also experiencing a similar freeze, rollbar.umn.min.js was hanging at this line:
try{for(o in e)(n=e[o])&&(i(n,"object")||i(n,"array"))?r.includes(n)?u[o]="Removed circular reference: "+s(n):((a=r.slice()).push(n)
@piyushsinghania 's fix has addressed it.
What rollbar functionality am I losing by removing the vueComponent parameter?
from rollbar.js.
We had this exact issue in our app.
piyushsinghania's fix solved all issues for us when the underlying problem was an error being reported by Vue, however if there were warnings (such as computed property X is readOnly but was assigned to...
) then the infinity-loop would still trigger. Adding a warningHandler solved this for us.
app.config.errorHandler = (error, vm, info) => {
rollbar.error(error, { info });
console.error(error);
};
app.config.warnHandler = (msg, instance ,trace) => {
console.warn(msg);
};
from rollbar.js.
What rollbar functionality am I losing by removing the vueComponent parameter?
I have the same question as that of @amokrunnr
from rollbar.js.
What rollbar functionality am I losing by removing the vueComponent parameter?
It can be safely omitted.
This is the object representing the component where the error happened. Not selective error info, but rather the full object.
This shows up as a custom
key in the Rollbar error, when passed as shown in the example.
If you're seeing an issue like described above, or an issue related to the size of the object, it can be omitted, or you can pass only the part(s) you're interested in.
from rollbar.js.
Related Issues (20)
- RollbarJSON.parse is not a function (AWS Lambda) HOT 1
- NodeJS - silence exit when enabled is false and captureUncaught is true
- rollbar Vulnerability - CVE-2020-26302 HOT 1
- Configuration for `checkIgnore` does not work HOT 1
- autoInstrument is broken with got library HOT 5
- Does rollbar.js support Deno? HOT 4
- compatibility issue with nextjs 13.4 HOT 14
- Test issue HOT 4
- Nodemon no longer show error message when Rollbar is initialized. HOT 1
- ErrorBoundary props for TS HOT 3
- Deno support - does Rollbar need to read files outside of current directory? HOT 3
- Listing items HOT 1
- is_js vulnerable to Regular Expression Denial of Service HOT 1
- enabled configuration option is ignored
- TypeError when console.log a dynamic Imports
- Error with Rollbar Integration on Cloudflare Workers: "addEventListener(): useCapture must be false." HOT 1
- Rollbar.prototype.wait() for browser envrironment
- ignoredMessages not getting ignored HOT 2
- Rollbar: Unexpected Rollbar.loadFull() called on a Notifier instance.
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 rollbar.js.