app/periscope/periscope_controller.rb in periscope_rails-0.0.6 vs app/periscope/periscope_controller.rb in periscope_rails-0.0.7

- old
+ new

@@ -52,9 +52,10 @@ end raise "OK" #abort all transactions for extra protection end rescue Exception => e puts "Warning: Periscope was unable to cost this query (1): #{command}" unless e.message == "OK" + raise e if e.message.include?("Command blocked") end active_record.transaction do #execution rows = active_record.connection.select_all(command) rows.each do |row| row.each_key do |column|