[MarkLogic Dev General] Regarding error message display
Geert.Josten at marklogic.com
Wed Jan 6 04:22:35 PST 2016
I can’t help with the Eclipse IDE integration. Not even sure how well it works with latest MarkLogic. I do know that oXygen Enterprise edition provides excellent integration with MarkLogic.
Regarding displaying error messages:
You could put a try catch inside your spawn-function, and return the error xml as result. Pass in the <result>true</result> option to spawn-function to make QC waits for errors.
Another option would be to just monitor the ErrorLog while your code is running. You can do that from the Admin UI (Logs tab on the start screen), or you could look at this project that provides a Google Chrome plugin:
Note: not sure how up to date the MLLogParser project is..
From: <general-bounces at developer.marklogic.com<mailto:general-bounces at developer.marklogic.com>> on behalf of "Mani, Sivasubramani (ELS)" <s.mani at elsevier.com<mailto:s.mani at elsevier.com>>
Reply-To: MarkLogic Developer Discussion <general at developer.marklogic.com<mailto:general at developer.marklogic.com>>
Date: Wednesday, January 6, 2016 at 11:50 AM
To: "general at developer.marklogic.com<mailto:general at developer.marklogic.com>" <general at developer.marklogic.com<mailto:general at developer.marklogic.com>>
Subject: [MarkLogic Dev General] Regarding error message display
Is there any way to display error message in query console during spawn-function running and also kindly guide me how to debug the marklogic using eclipse ide.
Thanks & Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the General