]> git.localhorst.tv Git - alttp.git/commitdiff
log erroring discord bot commands
authorDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 27 Nov 2025 16:28:53 +0000 (17:28 +0100)
committerDaniel Karbach <daniel.karbach@localhorst.tv>
Thu, 27 Nov 2025 16:28:53 +0000 (17:28 +0100)
app/Console/Commands/DiscordBotCommand.php

index 26e7f9147f8e201e01832d989876759ed5a88cfb..c6dce9aea36719d435f3b5b6ea807bb9925fede4 100644 (file)
@@ -64,6 +64,7 @@ class DiscordBotCommand extends Command
                                        try {
                                                $command->execute($discord);
                                        } catch (\Exception $e) {
+                                               $this->error('command execute: '.$e->getMessage());
                                        }
                                }
                        });