Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
LukaszRozmej committed Apr 27, 2023
1 parent df6dbb2 commit a96c292
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nethermind/Nethermind.Runner/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ private static void Run(string[] args)
catch (Exception e)
{
if (_logger.IsError) _logger.Error("Error during ethereum runner start", e);
_processExitSource.Exit(e is IExceptionWithExitCode withExit ? withExit.ExitCode : ExitCodes.GeneralError);
_processExitSource.ExitCode = e is IExceptionWithExitCode withExit ? withExit.ExitCode : ExitCodes.GeneralError;
}

_logger.Info("Closing, please wait until all functions are stopped properly...");
Expand Down

0 comments on commit a96c292

Please sign in to comment.