couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Ananich <anton.anan...@inpun.com>
Subject Lists: error processing
Date Thu, 03 Apr 2014 18:52:02 GMT
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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message