Fixed missed awaiting of import process

This commit is contained in:
Thorsten Sommer 2023-01-22 21:04:48 +01:00
parent c41d000bf0
commit caaa00f116
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -45,7 +45,7 @@ internal static class Program
{
try
{
serviceCollection.ImportDataAndAddDatabase(loader.Result.DataFile).ConfigureAwait(false);
serviceCollection.ImportDataAndAddDatabase(loader.Result.DataFile).ConfigureAwait(false).GetAwaiter().GetResult();
}
catch (JsonException)
{