We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c37e6f commit 9ceadf6Copy full SHA for 9ceadf6
GameFrameX.Core/BaseHandler/RPC/BaseRpcComponentHandler.cs
@@ -147,6 +147,10 @@ async Task Work()
147
catch (Exception e)
148
{
149
LogHelper.Error(e, $"InnerAction error: {RequestMessage.GetType().FullName} {RequestMessage}");
150
+ if (response != null && response.ErrorCode == default)
151
+ {
152
+ response.ErrorCode = OperationErrorCode.InternalServerError;
153
+ }
154
}
155
156
if (NetWorkChannel == null || NetWorkChannel.IsClosed() || response == null)
0 commit comments