Skip to content

Commit

Permalink
Do not exit gracefully if import is not successful when the user spec…
Browse files Browse the repository at this point in the history
…ifies to import config (#869)

Co-authored-by: Ben Hines <[email protected]>
Co-authored-by: Vasileios Zois <[email protected]>
  • Loading branch information
3 people authored Dec 10, 2024
1 parent cf2f89e commit f9c893c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions libs/host/ServerSettingsManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,11 @@ internal static bool TryParseCommandLineArguments(string[] args, out Options opt
cmdLineOptions.AzureStorageConnectionString);

if (!importSuccessful)
{
exitGracefully = false;
logger?.LogWarning(@"Config Import of options from: {ConfigImportPath} was not successful.", cmdLineOptions.ConfigImportPath);
return false;
}
}
else
{
Expand Down

0 comments on commit f9c893c

Please sign in to comment.