We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6381517 commit 239de61Copy full SHA for 239de61
app.rb
@@ -189,15 +189,14 @@ def render_page
189
else
190
raise "unknown file type #{doc_path}"
191
end
192
+ rescue Errno::ENOENT => e
193
+ p e
194
+ e.backtrace.each do |line|
195
+ break if line =~ %r{sinatra/base.rb}
196
+ puts "\t" + line
197
+ end
198
+ halt 404
199
- rescue Errno::ENOENT => e
- p e
- e.backtrace.each do |line|
- break if line =~ %r{sinatra/base.rb}
-
- puts "\t" + line
- end
200
- halt 404
201
202
203
def render_deck
0 commit comments