Commit 0e66f00b authored by jiangjiantao's avatar jiangjiantao

fundbug

parent 8685102a
var fundebug = require('./utils/fundebug.0.2.0.min.js');
import monitor from '/utils/alipayLogger';
var originRequest = my.request;
// my.request = function(options) {
// originRequest.call(null, {
// })
// }
// fundebug.init(
// {
// apikey : 'c0c5937571f82aecab3f7578bea5d8163455cd2407863f94829bee12324f57b4'
// })
fundebug.init(
{
apikey : 'c0c5937571f82aecab3f7578bea5d8163455cd2407863f94829bee12324f57b4'
})
App(monitor.hookApp({
globalData: {
version: "1.0.1.20200311",
......@@ -144,12 +136,10 @@ App(monitor.hookApp({
});
},
// onError(err)
// {
// // debugger;
// monitor.error('gggggggg')
// console.log("草泥马");
// // fundebug.onError(err);
// },
onError(err)
{
monitor.error(err)
fundebug.onError(err);
},
}));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment