Fix streaming example.

This commit is contained in:
Konstantin Haase 2010-09-07 14:52:00 +02:00
parent 8465d492aa
commit 6e00c57b22
1 changed files with 5 additions and 3 deletions

View File

@ -142,9 +142,11 @@ That way we can for instance easily implement a streaming example:
end
get '/' do
Stream.new
rescue StandardError
[500, 'sorry, error']
begin
Stream.new
rescue StandardError
[500, 'sorry, error']
end
end
== Static Files