Maybe better error handling

This commit is contained in:
Matthias Portzel 2024-03-23 02:31:05 -04:00
parent 982ced773e
commit 7d1bdfb1ec
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ def define_command text, options
begin
yield event
rescue => err
$study_channel.send "```rb\n#{PP.pp(err, "")}\n```"
$study_channel.send "```rb\n#{PP.pp(err, "")}\n#{PP.pp(err.backtrace.join("\n"), "")}\n```"
end
end
end