Business intelligence made simple
Do not update state on inline timeout errors
Andrew Kane692e003b5823
diff --git a/app/controllers/blazer/queries_controller.rb b/app/controllers/blazer/queries_controller.rbindex 0098b6f4..7a5e0503 100644--- a/app/controllers/blazer/queries_controller.rb+++ b/app/controllers/blazer/queries_controller.rb@@ -60,7 +60,7 @@ module Blazer@rows, @error = Blazer.run_statement(@statement)- if @query+ if @query && [email protected]_s.include?("canceling statement due to statement timeout")@query.blazer_checks.each do |check|check.update_state(@rows, @error)end