lib/quality/quality_checker.rb in quality-35.2.1 vs lib/quality/quality_checker.rb in quality-36.0.0
- old
+ new
@@ -62,10 +62,10 @@
return if @command_options[:gives_error_code_on_violations] ||
@command_options[:gives_error_code_on_no_relevant_code]
return unless exit_status.nonzero?
raise("Error detected running #{rendered_full_cmd}. " \
- "Exit status is #{exit_status}")
+ "Exit status is #{exit_status}. Output was #{@command_output}")
end
MAX_VIOLATIONS = 9_999_999_999
def existing_violations