Skip to content

Commit

Permalink
找不到对象.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyl18 committed Feb 25, 2021
1 parent c771718 commit a43c2c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions TextCommandCore/CommandHandlerHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,10 +153,10 @@ Exception Unwrap(Exception e1)
result = $"网络请求错误: ";
break;
case NullReferenceException _:
result = "找不到对象.";
result = "发生异常: 找不到对象.";

This comment has been minimized.

Copy link
@Cyl18

Cyl18 May 9, 2021

Author Member

image

break;
default:
result = $"发生异常: {innerException?.Message}.";
result = $"发生异常: {innerException?.Message}";
handlers.ErrorMessageSender($"在处理来自 [{sender}] 的命令时发生问题.\n" +
$"命令内容为 [{message}].\n" +
$"异常信息:\n" +
Expand Down

0 comments on commit a43c2c9

Please sign in to comment.