Log GDB server exceptions

This commit is contained in:
svc64 2023-08-05 21:37:28 +03:00
parent a366890cb5
commit 9b9137bf0a
1 changed files with 2 additions and 1 deletions

View File

@ -586,8 +586,9 @@ namespace Ryujinx.HLE.Debugger
Logger.Notice.Print(LogClass.GdbStub, "GDB client lost connection");
goto restartListen;
}
catch (Exception)
catch (Exception ex)
{
Logger.Error?.Print(LogClass.GdbStub, ex.ToString());
Logger.Notice.Print(LogClass.GdbStub, "GDB stub socket closed");
return;
}