@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.
- package/lib/index.js +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.
|
|
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.
|
|
357
|
+
this.ctx.logger.warn(e?.message ?? e);
|
|
358
358
|
throw e;
|
|
359
359
|
}
|
|
360
360
|
}
|