fusionjs / fusion-plugin-error-handling Goto Github PK
View Code? Open in Web Editor NEWMigrated to https://github.com/fusionjs/fusionjs
License: MIT License
Migrated to https://github.com/fusionjs/fusionjs
License: MIT License
Ideally the error handler should send a 500 response as
early as possible, without waiting for error reporting
to complete. This will ensure a better experience for the
user as well as fewer active connections being held onto by
the server.
While we may want to consider syncing this up with the server side error handler,
since their types will be different I think it is safe to keep them separate for now.
We can have the ErrorHandlingEmitterToken be optional since we can safely default to
triggering window.onerror.
Ref: https://blog.sentry.io/2016/01/04/client-javascript-reporting-window-onerror.html
in server.js:
onerror = function(m,s,l,c,e) {
if (e.__handled) return;
For some clients (e.g., Safari 9.x) the 5th param e
- the error object does not present. We should at least not throw in the meanwhile.
Documentation regarding Fusion API is out of date given recent changes to leverage new Dependency Injection architecture.
Update documentation (e.g. no .plugin
).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.