mol_wire_lib 1.0.908 → 1.0.909

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.mjs CHANGED
@@ -825,8 +825,7 @@ var $;
825
825
  }
826
826
  }
827
827
  catch (e) {
828
- e.message += '\n' + e.stack;
829
- throw e;
828
+ throw new Error(e.stack, { cause: e });
830
829
  }
831
830
  }
832
831
  step() {
package/node.test.js CHANGED
@@ -816,8 +816,7 @@ var $;
816
816
  }
817
817
  }
818
818
  catch (e) {
819
- e.message += '\n' + e.stack;
820
- throw e;
819
+ throw new Error(e.stack, { cause: e });
821
820
  }
822
821
  }
823
822
  step() {