lib/dbox/syncer.rb in dbox-0.6.9 vs lib/dbox/syncer.rb in dbox-0.6.10
- old
+ new
@@ -322,10 +322,11 @@
Thread.new do
begin
clone_api_into_current_thread()
Thread.current[:out] = calculate_changes(dir, operation)
rescue Exception => e
- log.error "Error while caclulating changes #{dir}: #{operation}"
+ log.error "Error while caclulating changes #{dir.inspect}: #{operation}"
+ log.error e.inspect
end
end
end
threads.each {|t| t.join; out += t[:out] }