ubugtrack-crash-report
v1.0.10
Published
Catch all exception and error then report it on your ubugtrack account
Downloads
7
Maintainers
Readme
uBugtrack
Replace YOUR_CRASH_KEY by the key generated on uBugtrack
Replace YOUR_APP_VERSION by the version number you want to display in uBugtrack interface
Call initCrashReporter at the beginning, the initialize must be called only once when application start.
const ubugtrackCrashReport = require('ubugtrack-crash-report');
ubugtrackCrashReport.initCrashReporter('YOUR_CRASH_KEY','YOUR_APP_VERSION');
If you use express, attach your express instance to uBugtrack.
var express = express();
express.get(...);
...
ubugtrackCrashReport.attachExpress(express); //Attach express after get init