Business intelligence made simple
Added another Redshift error message
Andrew Kane82d24e42ee60
diff --git a/lib/blazer/data_source.rb b/lib/blazer/data_source.rbindex c8cc264e..05892051 100644--- a/lib/blazer/data_source.rb+++ b/lib/blazer/data_source.rb@@ -82,7 +82,7 @@ module Blazerendrescue ActiveRecord::StatementInvalid => eerror = e.message.sub(/.+ERROR: /, "")- error = Blazer::TIMEOUT_MESSAGE if error.include?("canceling statement due to statement timeout") || error.include?("cancelled on user's request")+ error = Blazer::TIMEOUT_MESSAGE if error.include?("canceling statement due to statement timeout") || error.include?("cancelled on user's request") || error.include?("system requested abort query")endend