befly 3.15.21 → 3.15.22

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/dist/befly.js CHANGED
@@ -16582,10 +16582,18 @@ class Befly {
16582
16582
  try {
16583
16583
  await Logger.shutdown();
16584
16584
  } catch {}
16585
- if (error instanceof Error) {
16585
+ if (isCoreError(error)) {
16586
+ error.logged = true;
16586
16587
  throw error;
16587
16588
  }
16588
- throw new Error(String(error));
16589
+ throw new CoreError({
16590
+ kind,
16591
+ message: errMessage,
16592
+ logged: true,
16593
+ noLog,
16594
+ meta: { subsystem: "start", operation: "start" },
16595
+ cause: error
16596
+ });
16589
16597
  }
16590
16598
  }
16591
16599
  }