lib/munge/runner.rb in munge-0.12.0 vs lib/munge/runner.rb in munge-0.13.0
- old
+ new
@@ -31,10 +31,10 @@
case write_status
when :new, :changed
@writer.write(abspath, content)
when :double_write_error
- raise "attempted to write #{item.route} twice"
+ raise Errors::DoubleWriteError, item.route
when :identical
# Defer to the reporter
end
@reporter.call(item, relpath, write_status)