-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Hi. Since Telegram imposes a 4096-character limit per message, it’s best to avoid duplicating information unnecessarily. Exception messages can be very long and, especially when combined with the stack trace, can easily exceed this limit.
Lines 183 to 184 in bc81d3b
| sb.AppendLine($"\n<strong>{message}</strong>\n"); | |
| sb.AppendLine($"Message: <code>{message}</code>"); |
Lines 42 to 43 in bc81d3b
| output.WriteLine($"\n<strong>{message}</strong>\n"); | |
| output.WriteLine($"Message: <code>{message}</code>"); |
Proposal: output the message only once. The <code>-formatted variant should be sufficient.
Metadata
Metadata
Assignees
Labels
No labels