Fixed missed awaiting of import process

This commit is contained in:
tsommer committed 2023-01-22 21:04:48 +01:00
1 parent c41d000bf0
commit caaa00f116
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@ internal static class Program
{ {
try try
{ {
serviceCollection.ImportDataAndAddDatabase(loader.Result.DataFile).ConfigureAwait(false); serviceCollection.ImportDataAndAddDatabase(loader.Result.DataFile).ConfigureAwait(false).GetAwaiter().GetResult();
} }
catch (JsonException) catch (JsonException)
{ {