提交 b5476a31 编写于 作者: d-u-a's avatar d-u-a

update: remove error report

上级 8b38b62d
......@@ -40,7 +40,7 @@ class ErrorReport {
cp: process.env.UNI_PLATFORM,
hx: this.isInHBuilderX ? 1 : 0,
et: type,
em: err.replace(/(\().+(node_modules[\/\\]@dcloudio)/g, '$1$2')
em: err.replace(/(\().+?(node_modules[\/\\]@dcloudio)/g, '$1$2')
});
var hash = this._getMD5(data);
......@@ -109,7 +109,7 @@ Object.assign(ErrorReport.prototype, {
});
function report(type, err) {
ErrorReport.instance.report(type, err);
//ErrorReport.instance.report(type, err);
}
global.__error_reporting__ = report
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册