lib/sitediff.rb in sitediff-1.2.1 vs lib/sitediff.rb in sitediff-1.2.4
- old
+ new
@@ -135,10 +135,10 @@
nil
)
rescue StandardError => e
raise if @debug
- Result.new(path, nil, nil, nil, nil, "Sanitization error: #{e}")
+ diff = Result.new(path, nil, nil, nil, nil, "Sanitization error: #{e.message}")
end
end
@results[path] = diff
# Print results in order!