Skip to content

Commit

Permalink
Fix streaming example.
Browse files Browse the repository at this point in the history
  • Loading branch information
rkh committed Oct 12, 2010
1 parent a8b23ca commit 02fe9c9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 02fe9c9

Please sign in to comment.