Skip to content

use new FatalErrorWithLog #102

Open
Open
@andrewj-brown

Description

SB2.0 (#75) includes a brand-spanking-new exception, FatalErrorWithLog. Implemented as part of utils, it's an exception for bad internal states or other code-based failures. Importantly, the exception comes with a logging system that sends its exception message to #admin-alerts.

Because logging internal failures to #admin-alerts is significantly more useful than the existing Azure log trace, all the rest of UQCSBot's code should be reviewed for cases where FatalErrorWithLog should be used (or even extended by further custom exceptions) to log errors.

Metadata

Assignees

No one assigned

    Labels

    enhancementupdate an existing command or cog for some new functionalitygood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions