Browse files

ActiveRecordStore exception handling.

  • Loading branch information...
1 parent cdeedcd commit e296df61d6297230351cbaf16d57b9e28d1deaea @gkellogg committed Dec 18, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rdf_context/store/active_record_store.rb
View
2 lib/rdf_context/store/active_record_store.rb
@@ -218,7 +218,7 @@ def executeSQL(qStr, *params, &block)
puts "executeSQL no block given" if ::RdfContext::debug?
conn.select_rows(qStr)
end
- rescue SQLite3::SQLException => e
+ rescue StandardError => e
puts "SQL Exception (ignored): #{e.message}" if ::RdfContext::debug?
end

0 comments on commit e296df6

Please sign in to comment.