Exception handling for case when USB device refuses to open https://github.com/seerge/g-helper/issues/2057

This commit is contained in:
Serge
2024-02-12 18:24:11 +01:00
parent 1d30699fa2
commit 3f8083be50
2 changed files with 19 additions and 13 deletions

View File

@@ -66,7 +66,7 @@ namespace GHelper.Input
}
catch (Exception ex)
{
Logger.WriteLine(ex.ToString());
Logger.WriteLine($"Listener exited: {ex.Message}");
}
}