We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 371a7cf + 52f3c2c commit 21899c6Copy full SHA for 21899c6
lib/cc/engine/analyzers/analyzer_base.rb
@@ -18,8 +18,7 @@ def initialize(engine_config:)
18
def run(file)
19
process_file(file)
20
rescue *RESCUABLE_ERRORS => ex
21
- $stderr.puts("Skipping file #{file} due to exception:")
22
- $stderr.puts("(#{ex.class}) #{ex.message} #{ex.backtrace.join("\n")}")
+ $stderr.puts("Skipping file #{file} due to exception (#{ex.class}): #{ex.message}\n#{ex.backtrace.join("\n")}")
23
rescue => ex
24
$stderr.puts("#{ex.class} error occurred processing file #{file}: aborting.")
25
raise ex
0 commit comments