ubugtrack-crash-report

1.0.10 • Public • Published

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

/ubugtrack-crash-report/

    Package Sidebar

    Install

    npm i ubugtrack-crash-report

    Weekly Downloads

    12

    Version

    1.0.10

    License

    Apache-2.0

    Unpacked Size

    4.41 kB

    Total Files

    5

    Last publish

    Collaborators

    • guillaumelecoz