commit 5f7fdc66fadd304f42ddeda33db00a71a57c0f0b parent 7a5b368c661bad3d7a7c49fda8a74100a342dd6e Author: Demonstrandum <moi@knutsen.co> Date: Thu, 19 Mar 2020 16:59:49 +0000 Also log errors. Diffstat:
M | lib/main.ts | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/lib/main.ts b/lib/main.ts @@ -574,6 +574,7 @@ export class SimpOMatic { } }); } catch (e) { + console.warn(e); message.answer(`Something went very wrong (\`${e.message}\`):\n` + `${e.stack}`.format('```')); }