Skip to content
This repository has been archived by the owner on Dec 21, 2017. It is now read-only.

Commit

Permalink
ActiveRecordStore exception handling.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Dec 19, 2010
1 parent cdeedcd commit e296df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/rdf_context/store/active_record_store.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def executeSQL(qStr, *params, &block)
puts "executeSQL no block given" if ::RdfContext::debug? puts "executeSQL no block given" if ::RdfContext::debug?
conn.select_rows(qStr) conn.select_rows(qStr)
end end
rescue SQLite3::SQLException => e rescue StandardError => e
puts "SQL Exception (ignored): #{e.message}" if ::RdfContext::debug? puts "SQL Exception (ignored): #{e.message}" if ::RdfContext::debug?
end end


Expand Down

0 comments on commit e296df6

Please sign in to comment.