From b41dab650d58b5be3ebc85c5a125e33645767686 Mon Sep 17 00:00:00 2001 From: handongxun Date: Tue, 30 Jun 2020 18:09:51 +0800 Subject: [PATCH] =?UTF-8?q?update=20reporting=20=E5=BC=95=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/uni-cli-shared/lib/json.js | 2 +- packages/vue-cli-plugin-uni/lib/error-reporting.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/uni-cli-shared/lib/json.js b/packages/uni-cli-shared/lib/json.js index ee37978c..b2db2bee 100644 --- a/packages/uni-cli-shared/lib/json.js +++ b/packages/uni-cli-shared/lib/json.js @@ -17,7 +17,7 @@ function parseJson (content, preprocess = false) { try { content = JSON.parse(stripJsonComments(content)) } catch (e) { - throw new Error("uni-app-compiler: " + e.message) + throw new Error('uni-app-compiler: ' + e.message) } } diff --git a/packages/vue-cli-plugin-uni/lib/error-reporting.js b/packages/vue-cli-plugin-uni/lib/error-reporting.js index 97cb4625..51fe1541 100644 --- a/packages/vue-cli-plugin-uni/lib/error-reporting.js +++ b/packages/vue-cli-plugin-uni/lib/error-reporting.js @@ -103,8 +103,8 @@ class ErrorReport { } } Object.assign(ErrorReport.prototype, { - HOST: "96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com", - PATH: "/http/uni-app-compiler", + HOST: '96f0e031-f37a-48ef-84c7-2023f6360c0a.bspapp.com', + PATH: '/http/uni-app-compiler', EXCLUDE_ERROR_LIST: ['uni-app-compiler'] }); -- GitLab