Overview
If any unhandled exceptions are raised, the discord bot will continue running, but the code related to the execution of the task that caused the exception will immediately stop executing. This is problematic, because there are parts of the bot that we should expect/want to work even if others fail. For example, database errors shouldn't cause the command to help a student to fail entirely. Thus, more robust error handling at each major step in a task's execution will enable the bot to function better in abnormal circumstances and prevent bugs from requiring frantic patches.
Overview
If any unhandled exceptions are raised, the discord bot will continue running, but the code related to the execution of the task that caused the exception will immediately stop executing. This is problematic, because there are parts of the bot that we should expect/want to work even if others fail. For example, database errors shouldn't cause the command to help a student to fail entirely. Thus, more robust error handling at each major step in a task's execution will enable the bot to function better in abnormal circumstances and prevent bugs from requiring frantic patches.