Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/lib/rhosync/server.rb b/lib/rhosync/server.rb
- index 4ba88eb..fd57ec9 100755
- --- a/lib/rhosync/server.rb
- +++ b/lib/rhosync/server.rb
- @@ -147,8 +147,10 @@ module Rhosync
- request.body.rewind
- end
- rescue JSON::ParserError => jpe
- + log jpe.message + jpe.backtrace.join("\n")
- throw :halt, [500, "Server error while processing client data"]
- rescue Exception => e
- + log e.message + e.backtrace.join("\n")
- throw :halt, [500, "Internal server error"]
- end
- if params[:version] and params[:version].to_i < 3
Add Comment
Please, Sign In to add comment