Skip to content

Commit

Permalink
Merge commit 'local-beanbag/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
tslocke committed Jun 16, 2008
2 parents 296f9a6 + 7da3494 commit e134fba
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hobo/lib/hobo/model_router.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,10 @@ def add_routes(map)
subsites.each { |subsite| add_routes_for(map, subsite) }

add_developer_routes(map) if Hobo.developer_features?
rescue ActiveRecord::StatementInvalid
rescue ActiveRecord::StatementInvalid => e
# Database problem? Just continue without routes
ActiveRecord::Base.logger.info "!! Database exception during Hobo routing -- continuing without routes"
ActiveRecord::Base.logger.info "!! #{e.to_s}"
end


Expand Down

0 comments on commit e134fba

Please sign in to comment.