@kubb/core 2.10.0 → 2.11.1

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.
@@ -12,7 +12,7 @@ import {
12
12
  import {
13
13
  EventEmitter,
14
14
  LogLevel
15
- } from "./chunk-5OFHZEYU.js";
15
+ } from "./chunk-CH2676BL.js";
16
16
  import {
17
17
  getRelativePath,
18
18
  read,
@@ -1846,11 +1846,10 @@ executeSync_fn = function({
1846
1846
  }
1847
1847
  };
1848
1848
  _catcher = new WeakSet();
1849
- catcher_fn = function(e, plugin, hookName) {
1850
- const text = `${e.message} (plugin: ${plugin?.name || "unknown"}, hook: ${hookName || "unknown"})
1851
- `;
1852
- this.logger.emit("error", text);
1853
- this.events.emit("error", e);
1849
+ catcher_fn = function(cause, plugin, hookName) {
1850
+ const text = `${cause.message} (plugin: ${plugin?.name || "unknown"}, hook: ${hookName || "unknown"})`;
1851
+ this.logger.emit("error", text, cause);
1852
+ this.events.emit("error", cause);
1854
1853
  };
1855
1854
  _parse = new WeakSet();
1856
1855
  parse_fn = function(plugin, pluginManager, context) {
@@ -1886,4 +1885,4 @@ export {
1886
1885
  isPromise,
1887
1886
  PluginManager
1888
1887
  };
1889
- //# sourceMappingURL=chunk-EW6JZF2J.js.map
1888
+ //# sourceMappingURL=chunk-ZNYG4U5D.js.map