@openfin/core 35.78.7 → 35.78.9
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/out/mock.js +2 -1
- package/package.json +1 -1
package/out/mock.js
CHANGED
|
@@ -8274,7 +8274,8 @@ function errorToPOJO(error) {
|
|
|
8274
8274
|
stack: error.stack,
|
|
8275
8275
|
name: error.name,
|
|
8276
8276
|
message: error.message,
|
|
8277
|
-
|
|
8277
|
+
// support the case where stack is empty or missing
|
|
8278
|
+
toString: () => error.stack || error.toString()
|
|
8278
8279
|
};
|
|
8279
8280
|
}
|
|
8280
8281
|
errors.errorToPOJO = errorToPOJO;
|