Move Sentry Init priority between the discord connection and dependency registration
This commit is contained in:
parent
d16828077d
commit
0a9099a6d2
1 changed files with 2 additions and 2 deletions
|
@ -85,6 +85,8 @@ namespace Geekbot.Bot
|
|||
await Login();
|
||||
_logger.Information(LogSource.Geekbot, $"Now Connected as {_client.CurrentUser.Username} to {_client.Guilds.Count} Servers");
|
||||
await _client.SetGameAsync(_globalSettings.GetKey("Game"));
|
||||
|
||||
RegisterSentry();
|
||||
|
||||
_logger.Information(LogSource.Geekbot, "Loading Dependencies and Handlers");
|
||||
RegisterDependencies();
|
||||
|
@ -93,8 +95,6 @@ namespace Geekbot.Bot
|
|||
_logger.Information(LogSource.Api, "Starting Web API");
|
||||
StartWebApi();
|
||||
|
||||
RegisterSentry();
|
||||
|
||||
_logger.Information(LogSource.Geekbot, "Done and ready for use");
|
||||
|
||||
await Task.Delay(-1);
|
||||
|
|
Loading…
Reference in a new issue