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

update reporting

上级 4dfe7a96
......@@ -17,7 +17,7 @@ function parseJson (content, preprocess = false) {
try {
content = JSON.parse(stripJsonComments(content))
} catch (e) {
throw new Error("dcloud:parse-json-error")
throw new Error("uni-app-compiler: " + e.message)
}
}
......
......@@ -105,7 +105,7 @@ class ErrorReport {
Object.assign(ErrorReport.prototype, {
HOST: "96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com",
PATH: "/http/uni-app-compiler",
EXCLUDE_ERROR_LIST: ['dcloud:parse-json-error']
EXCLUDE_ERROR_LIST: ['uni-app-compiler']
});
function report(type, err) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册