Skip to content

Commit

Permalink
destroy RpcContext
Browse files Browse the repository at this point in the history
destroy RpcContext
  • Loading branch information
fanliang11 committed Jun 7, 2021
1 parent ba5e1d1 commit 6b92962
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -178,6 +178,10 @@ private async Task SendRemoteInvokeResult(IMessageSender sender,string messageId
if (_logger.IsEnabled(LogLevel.Error))
_logger.LogError(exception, "发送响应消息时候发生了异常。");
}
finally
{
RpcContext.RemoveContext();
}
}

private static string GetExceptionMessage(Exception exception)
Expand Down

0 comments on commit 6b92962

Please sign in to comment.