couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Shorin <kxe...@gmail.com>
Subject Re: Lists: error processing
Date Fri, 04 Apr 2014 08:24:33 GMT
Hey Anthony,

Which mistake in the list function code leads to such behavior?
--
,,,^..^,,,


On Fri, Apr 4, 2014 at 9:54 AM, Anthony Ananich <anton.ananich@inpun.com> wrote:
> Sorry it was a mistake in my code. This question is to be disregarded.
>
>
> On Thu, Apr 3, 2014 at 9:52 PM, Anthony Ananich <anton.ananich@inpun.com>wrote:
>
>> Hi!
>>
>> I occasionally found an issue (could be a bug).
>>
>> I created a list functions in a ddoc and this function contains an error.
>> I expect this error to be reported. In reality I can see a different
>> behaviour:
>>
>> {
>>
>>    - error: "unknown_error",
>>    - reason: "undef"
>>
>> }
>>
>> I looked into sources at file couch_mrview_show.erl and I found at line
>> 290 that CouchDB does not expect to get error here.
>> https://github.com/apache/couchdb/blob/master/src/couch_mrview/src/couch_
>> mrview_show.erl#L290
>>
>> I wonder if there is a way for view server to raise a meaningful error
>> during list processing?
>>
>> Thank you,
>> Anthony
>>

Mime
View raw message