diff --git a/src/modules/espresso/Espresso.Shell/Core/APIHelper.cs b/src/modules/espresso/Espresso.Shell/Core/APIHelper.cs index 16f72bee5a..0e2af67c9d 100644 --- a/src/modules/espresso/Espresso.Shell/Core/APIHelper.cs +++ b/src/modules/espresso/Espresso.Shell/Core/APIHelper.cs @@ -105,7 +105,6 @@ namespace Espresso.Shell.Core // In case cancellation was already requested. //ThreadToken.ThrowIfCancellationRequested(); - try { if (keepDisplayOn) @@ -153,6 +152,7 @@ namespace Espresso.Shell.Core } catch (OperationCanceledException ex) { + log.Debug($"Background thread termination. Message: {ex.Message}"); // Task was clearly cancelled. return success; }