Skip to content

Commit

Permalink
Avoid crashing the formatter :/
Browse files Browse the repository at this point in the history
  • Loading branch information
Sija committed Jan 25, 2021
1 parent 2dc7cd6 commit f108891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raven/interfaces/message.cr
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module Raven

def unformatted_message
if (params = @params) && !params.empty?
message?.try(&.%(params))
message?.try(&.% params)
else
message?
end
Expand Down

0 comments on commit f108891

Please sign in to comment.