lib/tasks/switchman.rake in switchman-3.0.14 vs lib/tasks/switchman.rake in switchman-3.0.15
- old
+ new
@@ -84,13 +84,11 @@
old_actions.each { |action| action.call(*task_args) }
end
nil
end
rescue => e
- puts "Exception from #{e.current_shard.id}: #{e.current_shard.description}" if options[:parallel] != 0
+ warn "Exception from #{e.current_shard.id}: #{e.current_shard.description}:\n#{e.full_message}" if options[:parallel] != 0
raise
-
- # ::ActiveRecord::Base.configurations = old_configurations
end
end
end
end