Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #343 from Aschen/master
Mattermost: fix backtrace dump size
  • Loading branch information
smartinez87 committed Jun 17, 2016
2 parents 06b3a26 + 7476600 commit 4d6adef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/exception_notifier/mattermost_notifier.rb
Expand Up @@ -111,6 +111,7 @@ def message_request
def message_backtrace(size = 3)
text = []

size = @backtrace.size < size ? @backtrace.size : size
text << "### Backtrace"
text << "```"
size.times { |i| text << "* " + @backtrace[i] }
Expand Down

0 comments on commit 4d6adef

Please sign in to comment.