silgi 0.38.13 → 0.38.14

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import { defineCommand, runMain } from 'citty';
3
3
 
4
- const version = "0.38.13";
4
+ const version = "0.38.14";
5
5
  const packageJson = {
6
6
  version: version};
7
7
 
@@ -1,4 +1,4 @@
1
- import { createConsola } from 'consola';
1
+ import consola, { createConsola } from 'consola';
2
2
  import { defu } from 'defu';
3
3
  import { createHooks } from 'hookable';
4
4
  import { createRouter, addRoute, findRoute, findAllRoutes } from 'rou3';
@@ -106,6 +106,7 @@ class SilgiError extends Error {
106
106
  if (isDevelopment && opts.cause && opts.cause instanceof Error && opts.cause.stack && this.stack) {
107
107
  this.stack += `
108
108
  Caused by: ${opts.cause.stack}`;
109
+ consola.warn(opts.cause);
109
110
  }
110
111
  }
111
112
  toJSON() {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.38.13",
4
+ "version": "0.38.14",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {