lib/snapsync/sync_all.rb in snapsync-0.2.0 vs lib/snapsync/sync_all.rb in snapsync-0.2.1
- old
+ new
@@ -54,13 +54,13 @@
begin
Sync.new(config, target, autoclean: autoclean?).run
rescue Interrupt
raise
rescue Exception => e
- Snapsync.warn "failed to synchronization #{config.name} on #{target.dir}"
+ Snapsync.warn "failed to synchronize #{config.name} on #{target.dir}"
PP.pp(e, buffer = String.new)
buffer.each_line do |line|
- Snapsync.warn " #{line}"
+ Snapsync.warn " #{line.chomp}"
end
e.backtrace.each do |line|
Snapsync.debug " #{line}"
end
end