Skip to content

Commit 239de61

Browse files
committed
Revert style changes
1 parent 6381517 commit 239de61

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

app.rb

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -189,15 +189,14 @@ def render_page
189189
else
190190
raise "unknown file type #{doc_path}"
191191
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
192199
end
193-
rescue Errno::ENOENT => e
194-
p e
195-
e.backtrace.each do |line|
196-
break if line =~ %r{sinatra/base.rb}
197-
198-
puts "\t" + line
199-
end
200-
halt 404
201200
end
202201

203202
def render_deck

0 commit comments

Comments
 (0)