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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/index.js +3 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wgt-node-utils",
3
- "version": "0.0.35",
3
+ "version": "0.0.37",
4
4
  "description": "WGT工具类包",
5
5
  "main": "dist/bundle.js",
6
6
  "scripts": {
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()}===========`);