Update settings configuration

This commit is contained in:
Den Delimarsky
2021-04-23 08:00:22 -07:00
parent 919f7bacfe
commit 849c376fb8
2 changed files with 6 additions and 2 deletions

View File

@@ -33,7 +33,10 @@ namespace Espresso.Shell.Core
{
try
{
bool stateSettingSucceeded = (SetThreadExecutionState(state) != 0);
var stateResult = SetThreadExecutionState(state);
bool stateSettingSucceeded = (stateResult != 0);
Console.WriteLine($"State setting result: {stateResult}");
if (stateSettingSucceeded)
{
return true;

View File

@@ -239,7 +239,8 @@ namespace Espresso.Shell
}
catch (Exception ex)
{
ForceExit($"There was a problem reading the configuration file.\n{ex.Message}", 1);
Console.WriteLine($"There was a problem reading the configuration file.\n{ex.Message}");
//ForceExit($"There was a problem reading the configuration file.\n{ex.Message}", 1);
}
}