mol_wire_lib 1.0.107 → 1.0.110
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/node.deps.json +1 -1
- package/node.esm.js +6 -1
- package/node.esm.js.map +1 -1
- package/node.js +6 -1
- package/node.js.map +1 -1
- package/node.test.js +6 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.deps.json +1 -1
- package/web.esm.js +6 -1
- package/web.esm.js.map +1 -1
- package/web.js +6 -1
- package/web.js.map +1 -1
package/node.js
CHANGED
|
@@ -696,7 +696,12 @@ var $;
|
|
|
696
696
|
}
|
|
697
697
|
}
|
|
698
698
|
catch (error) {
|
|
699
|
-
|
|
699
|
+
if (error instanceof Error || error instanceof Promise) {
|
|
700
|
+
result = error;
|
|
701
|
+
}
|
|
702
|
+
else {
|
|
703
|
+
result = new Error(String(error), { cause: error });
|
|
704
|
+
}
|
|
700
705
|
if (result instanceof Promise && !handled.has(result)) {
|
|
701
706
|
result = Object.assign(result.finally(() => {
|
|
702
707
|
if (this.cache === result)
|