UniversityRadioYork / ury-rapid

(obsolete) Radio API Daemon
BSD 2-Clause "Simplified" License
2 stars 0 forks source link

favicon.ico triggers a RuntimeError instead of 404. #16

Closed 46bit closed 10 years ago

46bit commented 10 years ago

fortysix@46mbp:bra ∴ ruby main.rb

Thin web server (v1.5.1 codename Straight Razor) Maximum connections set to 1024 Listening on 0.0.0.0:8181, CTRL+C to stop head, tail = channels head, tail = favicon.ico RuntimeError - resource has no child resource.: /Users/fortysix/forest/ruby/ury/bra/models/composite.rb:62:in find_url' /Users/fortysix/forest/ruby/ury/bra/server_app.rb:136:infind' /Users/fortysix/forest/ruby/ury/bra/server_app.rb:97:in block in <class:ServerApp>' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:incall' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1593:in block in compile!' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in[]' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in block (3 levels) in route!' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:976:inroute_eval' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:957:in block (2 levels) in route!' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:997:inblock in process_route' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:in catch' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:995:inprocess_route' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:955:in block in route!' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:ineach' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:954:in route!' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1067:inblock in dispatch!' /Users/fortysix/.rbenv/versions/2.0.0-p247/lib/ruby/gems/2.0.0/gems/sinatra-1.4.4/lib/sinatra/base.rb:1049:in `block in invoke'

wlcx commented 10 years ago

This doesn't crash anything now, closing