Permalink
Browse files

Fix streaming example.

  • Loading branch information...
1 parent a8b23ca commit 02fe9c9ecda81498162cb6600f764c318a08c059 @rkh rkh committed Sep 7, 2010
Showing with 5 additions and 3 deletions.
  1. +5 −3 README.rdoc
View
@@ -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

0 comments on commit 02fe9c9

Please sign in to comment.