lib/covered/source.rb in covered-0.11.0 vs lib/covered/source.rb in covered-0.12.0
- old
+ new
@@ -40,10 +40,11 @@
@mutex.synchronize do
@paths[path] = source
end
end
end
- rescue ArgumentError
+ rescue
+ warn "Script coverage disabled: #{$!}"
@trace = nil
end
end
def enable