We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf160d2 commit 53dc652Copy full SHA for 53dc652
1 file changed
src/SshAgentEcho.Gui/Program.cs
@@ -26,6 +26,10 @@ public static void Main(string[] args) {
26
.StartWithClassicDesktopLifetime(args);
27
} catch (NullReferenceException ex) when (ex.StackTrace?.Contains("DBusMenu") == true || ex.StackTrace?.Contains("Tmds.DBus") == true) {
28
Console.WriteLine($"Suppressing DBus shutdown error: {ex.Message}");
29
+ } catch (Exception ex) {
30
+ Console.WriteLine($"Unhandled exception: {ex}");
31
+ } finally {
32
+ _mutex.ReleaseMutex();
33
}
34
35
0 commit comments