Skip to content

Enhanced Logging for Panics #4

@1nv8rzim

Description

@1nv8rzim

Is your feature request related to a problem? Please describe.
When panics are encountered, the are not able to be logged and will cause OBIII to reboot.

Describe the solution you'd like
Implement a panic handler at the entrance of all goroutines in order to catch and log all panics.

Panics should be logged directly to file and not sent via normal discord log management. Similarly, in order to send notifications to discord an alternate method of logging via send embeds via webhooks should be used.

Describe alternatives you've considered
N/A

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions