@constructor-io/constructorio-client-javascript 2.33.0 → 2.33.1

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.
@@ -166,7 +166,7 @@ var RequestQueue = /*#__PURE__*/function () {
166
166
  instance.eventemitter.emit('error', {
167
167
  url: nextInQueue.url,
168
168
  method: nextInQueue.method,
169
- message: error.toString()
169
+ message: error && error.toString && error.toString()
170
170
  });
171
171
  }
172
172
  })["finally"](function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@constructor-io/constructorio-client-javascript",
3
- "version": "2.33.0",
3
+ "version": "2.33.1",
4
4
  "description": "Constructor.io JavaScript client",
5
5
  "main": "lib/constructorio.js",
6
6
  "types": "lib/types/constructorio.d.ts",