Skip to content

Logger reporting to Discord causes fatal errors in KockaLogger #59

@KockaAdmiralac

Description

@KockaAdmiralac

Description

The logger's logging methods are technically asynchronous, but no component of the system calls them as such. This means Discord backend errors can cause KockaLogger to crash due to uncaught promise rejections.

Reproduction steps

Steps to reproduce the behavior:

  1. Wait for Discord backend to get unstable
  2. Get KockaLogger to report an error at that time
  3. See how it crashes and restarts

Expected behavior

It doesn't crash.

Metadata

Metadata

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions