lib/sql_migrations/script.rb in sql_migrations-2.5.0 vs lib/sql_migrations/script.rb in sql_migrations-2.6.0
- old
+ new
@@ -28,9 +28,10 @@
statements.each { |query| driver.run(query) }
end
end
rescue
puts "[-] Error while executing #{@type} #{@name} !"
+ puts " Info: #{self}"
raise
else
true & on_success
end
end