jarjar icon indicating copy to clipboard operation
jarjar copied to clipboard

Attachment formatting breaks with very long attachments

Open nolanbconaway opened this issue 6 years ago • 0 comments

In the magic function and in the decorator, the traceback is included as an attachment, wrapped in "```" for formatting. These messages can get pretty long and Slack will cut them off at a certain point. The final "```" will be removed and the formatting is gone.

We should only send the bottom N characters of the traceback to preserve the formatting.

nolanbconaway avatar Sep 26 '18 21:09 nolanbconaway