Hi,

On 25 September 2013 03:44, Toby Corkindale
<toby.corkind...@strategicdata.com.au> wrote:

> Have you tried executing your javascript outside of Riak?
> ie. paste the function into the Chrome debugger, then call it with a
> Riak-like data structure.

The problem with this approach is I need to make some assumptions on
what the data as inout to my function looks like.

> Also, consider wrapping the code in your function with an eval so you can
> catch errors that occur. (Then either ejslog them or return them as results
> of the map phase)

With ejsLog() also not working for me I am finding it hard to inspect
what riak is passing into my function to debug it elsewhere (like a js
repl).

-- 
Ciao

Charl

"I will either find a way, or make one." -- Hannibal

_______________________________________________
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to