Skip to content

Business intelligence made simple

Added another Redshift error message

Andrew Kane82d24e42ee60
diff --git a/lib/blazer/data_source.rb b/lib/blazer/data_source.rb
index c8cc264e..05892051 100644
--- a/lib/blazer/data_source.rb
+++ b/lib/blazer/data_source.rb
@@ -82,7 +82,7 @@ module Blazer
end
rescue ActiveRecord::StatementInvalid => e
error = 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")
end
end