Permalink
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...
avsej committed Dec 27, 2012
1 parent dc61654 commit 92c0d50e83e5296be71ad4a4a12f8512fea2a216
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/couchbase/view.rb
View
@@ -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

0 comments on commit 92c0d50

Please sign in to comment.