Skip to content

Commit 80d62f3

Browse files
committed
Improve exception message.
1 parent 0409831 commit 80d62f3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Quick.Protocol/QpChannel.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,12 +910,12 @@ private void OnCommandRequestReceived(string commandId, string typeName, string
910910
}
911911
catch (CommandException ex)
912912
{
913-
string errorMessage = ExceptionUtils.GetExceptionString(ex);
913+
string errorMessage = ExceptionUtils.GetExceptionMessage(ex);
914914
SendCommandResponsePackage(commandId, ex.Code, errorMessage, null, null);
915915
}
916916
catch (Exception ex)
917917
{
918-
string errorMessage = ExceptionUtils.GetExceptionString(ex);
918+
string errorMessage = ExceptionUtils.GetExceptionMessage(ex);
919919
SendCommandResponsePackage(commandId, 255, errorMessage, null, null);
920920
}
921921
}

0 commit comments

Comments
 (0)