tilboerner / laserchicken

RSS reader web application built on Rails
MIT License
20 stars 3 forks source link

Database timeouts produce code 500 errors #15

Open tilboerner opened 11 years ago

tilboerner commented 11 years ago

Related exceptions should be caught and dealt with in a less destructive manner.

E, [2013-07-23T21:36:59.258355 #13062] ERROR -- : SQLite3::BusyException: database is locked: commit transaction
I, [2013-07-23T21:36:59.259037 #13062]  INFO -- : Completed 500 Internal Server Error in 5020ms
F, [2013-07-23T21:36:59.260902 #13062] FATAL -- : 
ActiveRecord::StatementInvalid (SQLite3::BusyException: database is locked: commit transaction):
  app/controllers/entries_controller.rb:11:in `show'