@emartech/json-logger 8.0.1 → 8.0.2

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.
@@ -123,6 +123,9 @@ class Logger {
123
123
  context: this.shortenData(error.data),
124
124
  stack_trace: this.shortenStackTrace(error.stack || ''),
125
125
  },
126
+ event: {
127
+ reason: error.message,
128
+ },
126
129
  };
127
130
  }
128
131
  getAxiosErrorDetails(error) {
package/package.json CHANGED
@@ -64,5 +64,5 @@
64
64
  "dependencies": {
65
65
  "lodash": "4.17.21"
66
66
  },
67
- "version": "8.0.1"
67
+ "version": "8.0.2"
68
68
  }