mol_jsx_lib 0.0.775 → 0.0.777

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/web.mjs CHANGED
@@ -1037,25 +1037,19 @@ var $;
1037
1037
  return this.cache;
1038
1038
  }
1039
1039
  async async() {
1040
- try {
1041
- while (true) {
1042
- this.fresh();
1043
- if (this.cache instanceof Error) {
1044
- $mol_fail_hidden(this.cache);
1045
- }
1046
- if (!$mol_promise_like(this.cache))
1047
- return this.cache;
1048
- await Promise.race([this.cache, this.step()]);
1049
- if (!$mol_promise_like(this.cache))
1050
- return this.cache;
1051
- if (this.cursor === $mol_wire_cursor.final) {
1052
- await new Promise(() => { });
1053
- }
1040
+ while (true) {
1041
+ this.fresh();
1042
+ if (this.cache instanceof Error) {
1043
+ $mol_fail_hidden(this.cache);
1044
+ }
1045
+ if (!$mol_promise_like(this.cache))
1046
+ return this.cache;
1047
+ await Promise.race([this.cache, this.step()]);
1048
+ if (!$mol_promise_like(this.cache))
1049
+ return this.cache;
1050
+ if (this.cursor === $mol_wire_cursor.final) {
1051
+ await new Promise(() => { });
1054
1052
  }
1055
- }
1056
- catch (e) {
1057
- e.message += '\n' + e.stack;
1058
- throw e;
1059
1053
  }
1060
1054
  }
1061
1055
  step() {
@@ -1452,6 +1446,7 @@ var $;
1452
1446
  if (!$mol_fail_catch(error))
1453
1447
  return false;
1454
1448
  console.error(error);
1449
+ console.error(error.stack);
1455
1450
  return true;
1456
1451
  }
1457
1452
  $.$mol_fail_log = $mol_fail_log;