Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix streaming example.

  • Loading branch information...
commit 6e00c57b224efedec0917696a872a1b658887c51 1 parent 8465d49
@rkh authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 README.rdoc
View
8 README.rdoc
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.