wgt-node-utils 0.0.42 → 0.0.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +2 -2
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -368,14 +368,14 @@ class wgtNodeUtils {
|
|
|
368
368
|
console.error(`${title} [${err.config.method}]: ${err.config.url}`);
|
|
369
369
|
console.error(`request: {params: ${JSON.stringify(err.config.params)}, data: ${JSON.stringify(err.config.data)}}`);
|
|
370
370
|
console.error(`response: ${JSON.stringify(err.response)}`);
|
|
371
|
-
this.sendFeiShu(`${title} [${err.config.method}]: ${err.config.url}`, ENV, components);
|
|
371
|
+
// this.sendFeiShu(`${title} [${err.config.method}]: ${err.config.url}`, ENV, components);
|
|
372
372
|
} else {
|
|
373
373
|
console.error(`============${new Date().toLocaleString()}===========`);
|
|
374
374
|
console.error(`${title} ${err}`);
|
|
375
375
|
|
|
376
376
|
console.error(`=========================={\"text\":\"<b>前端容器node报错</b> \\n components: ${components}\\n env: ${ENV}, \\n message: ${title} [${err.config.method}]: ${err.config.url}\"}`)
|
|
377
377
|
|
|
378
|
-
this.sendFeiShu(`${title} ${err}`, ENV, components);
|
|
378
|
+
// this.sendFeiShu(`${title} ${err}`, ENV, components);
|
|
379
379
|
}
|
|
380
380
|
} catch (e) {
|
|
381
381
|
|