Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Return updated error message in Couchbase::Error::HTTP

Change-Id: I6326b60a6e811dcd88114fd74927e5868b91b30b
Reviewed-on: http://review.couchbase.org/23569
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
  • Loading branch information...
commit 92c0d50e83e5296be71ad4a4a12f8512fea2a216 1 parent dc61654
@avsej avsej authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/couchbase/view.rb
View
3  lib/couchbase/view.rb
@@ -47,8 +47,9 @@ def to_s
str = super
if @type || @reason
str.sub(/ \(/, ": #{[@type, @reason].compact.join(": ")} (")
+ else
+ str
end
- str
end
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.