Skip to content

Commit

Permalink
Return updated error message in Couchbase::Error::HTTP
Browse files Browse the repository at this point in the history
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 92c0d50
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/couchbase/view.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 92c0d50

Please sign in to comment.