@hieuzest/koishi-plugin-riichi-city 0.5.3 → 0.5.4

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.
Files changed (2) hide show
  1. package/lib/index.js +2 -2
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -313,7 +313,7 @@ ${config.extraHelp}`.trim();
313
313
  } catch (e) {
314
314
  if (e instanceof import_lobby.DHSError) throw e;
315
315
  else {
316
- this.ctx.logger.error(e);
316
+ this.ctx.logger.warn(e?.message ?? e);
317
317
  throw e;
318
318
  }
319
319
  }
@@ -354,7 +354,7 @@ ${config.extraHelp}`.trim();
354
354
  } catch (e) {
355
355
  if (e instanceof import_lobby.DHSError) throw e;
356
356
  else {
357
- this.ctx.logger.error(e);
357
+ this.ctx.logger.warn(e?.message ?? e);
358
358
  throw e;
359
359
  }
360
360
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hieuzest/koishi-plugin-riichi-city",
3
3
  "description": "",
4
- "version": "0.5.3",
4
+ "version": "0.5.4",
5
5
  "main": "lib/index.js",
6
6
  "typings": "lib/index.d.ts",
7
7
  "files": [