notification-processor 4.21.1 → 4.23.0

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.
@@ -133,6 +133,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
133
133
  theRequest = _.get(error, "detail.request") || _.get(error, "cause.detail.request");
134
134
  errorType = _this3._retrieveMessageFromError(error, TYPE_PROPERTIES, "unknown");
135
135
  errorMessage = _this3._retrieveMessageFromError(error, MESSAGE_PROPERTIES, "");
136
+ if (/the operation did not complete within the allocated time/gi.test(errorType)) {
137
+ errorType = "timed_out";
138
+ }
136
139
  now = new Date();
137
140
  return {
138
141
  id: id,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notification-processor",
3
- "version": "4.21.1",
3
+ "version": "4.23.0",
4
4
  "description": "notification-processor",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/.node-version DELETED
@@ -1 +0,0 @@
1
- 12.22.12