Skip to content

Commit

Permalink
Print with error class name
Browse files Browse the repository at this point in the history
  • Loading branch information
ksss committed Nov 26, 2023
1 parent bc5dc67 commit 0c710c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rbs/cli/validate.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def build_message(error)
highlight = RBS.logger_output ? RBS.logger_output.tty? : true
error.detailed_message(highlight: highlight)
else
error.message
"#{error.message} (#{error.class})"
end
end
end
Expand Down

0 comments on commit 0c710c7

Please sign in to comment.