serilog-contrib / serilog-sinks-slackclient

Slack Sink for Serilog
Apache License 2.0
27 stars 15 forks source link

Long stack trace doesn't get formatted because of Slack's character limit #14

Open evanemelga opened 6 years ago

evanemelga commented 6 years ago

image

Technically, Slack has 40,000 characters limit, so anything beyond that got truncated. https://api.slack.com/changelog/2018-04-truncating-really-long-messages

If a very long stack trace got truncated, the closing triple apostrophe will be missing, thus the stack trace shows as a normal, very long message instead of a block of code.

Update: In the picture though, it appears that the message got truncated although it is only about 1,500 characters

Tieantono commented 4 years ago

Any news about this?