2
0
forked from Wavyzz/dolibarr

New Added client-side Sentry logging

Using Raven.js allows logging client-side javascript errors to the
configured Sentry server.
This commit is contained in:
Raphaël Doursenaud
2015-08-31 17:21:03 +02:00
parent 7ef5cbfb96
commit a6ef289470
47 changed files with 7872 additions and 9 deletions

View File

@@ -0,0 +1,12 @@
function multiply(a, b) {
"use strict";
return a * b;
}
function divide(a, b) {
"use strict";
try {
return multiply(add(a, b), a, b) / c;
} catch (e) {
Raven.captureException(e);
}
}