wgt-node-utils 0.0.35 → 0.0.37
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 +3 -0
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -365,6 +365,9 @@ class wgtNodeUtils {
|
|
|
365
365
|
console.error(`${title} [${err.config.method}]: ${err.config.url}`);
|
|
366
366
|
console.error(`request: {params: ${JSON.stringify(err.config.params)}, data: ${JSON.stringify(err.config.data)}}`);
|
|
367
367
|
console.error(`response: ${JSON.stringify(err.response)}`);
|
|
368
|
+
|
|
369
|
+
console.error(`=========================={\"text\":\"<b>前端容器node报错</b> \\n components: ${components}\\n env: ${ENV}, \\n message: ${title} [${err.config.method}]: ${err.config.url}\"}`)
|
|
370
|
+
|
|
368
371
|
this.sendFeiShu(`${title} [${err.config.method}]: ${err.config.url}`, ENV, components);
|
|
369
372
|
} else {
|
|
370
373
|
console.error(`============${new Date().toLocaleString()}===========`);
|