JS_SetErrorReporter?

"[email protected]" <[email protected]> Fri, 01 Feb 2013 14:13:37 +0000
Newsgroups gmane.comp.mozilla.devel.embedding
Organization NovaDSP
Message-ID <[email protected]>
Any thoughts on how to set up a custom JS error reporter when embedding 
Mozilla via XRE_InitEmbedding2/XPCOM and friends? The problem is getting 
the JSContext - is there a convenient interface/hook?

Thanks.