mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
Add proper logging of startup errors
This commit is contained in:
parent
fa70df8f98
commit
4701f4b56c
1 changed files with 3 additions and 0 deletions
|
|
@ -89,6 +89,9 @@ namespace PluralKit.Bot
|
|||
}
|
||||
|
||||
logger.Information("Shutting down");
|
||||
|
||||
// Allow the log buffer to flush properly before exiting (needed for fatal errors)
|
||||
await Task.Delay(1000);
|
||||
}
|
||||
}
|
||||
class Bot
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue