Expose git version in 'pk;stats' and '/v1/meta'

This commit is contained in:
spiral
2021-08-01 15:22:23 -04:00
parent dcc15dc847
commit 1cb4bc9287
9 changed files with 54 additions and 5 deletions

View File

@@ -30,6 +30,9 @@ namespace PluralKit.Bot
return RunWrapper(services, async ct =>
{
// init version service
await BuildInfoService.LoadVersion();
var logger = services.Resolve<ILogger>().ForContext<Init>();
// Initialize Sentry SDK, and make sure it gets dropped at the end