增加堆栈错误长度
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
7e13edc440
commit
570318cf3b
|
|
@ -28,8 +28,8 @@ public static class WeComNotifier
|
|||
|
||||
var stack = ex.StackTrace ?? "无堆栈信息";
|
||||
stack = stack.Replace("\n", "\n> "); // 每行变成引用,防止markdown断裂
|
||||
if (stack.Length > 1000)
|
||||
stack = stack.Substring(0, 1000) + "...(已截断)";
|
||||
if (stack.Length > 1200)
|
||||
stack = stack.Substring(0, 1200) + "...(已截断)";
|
||||
|
||||
string atText = "";
|
||||
if (atUsers != null && atUsers.Any())
|
||||
|
|
|
|||
Loading…
Reference in New Issue