Hi Ben,
This is possible. However, we don't have any client API bindings for it and the report is required to include some information like a GUID for the server session (a unique ID generated each time the web server starts up), the server's GUID (a unique ID for a particular installation), etc. For your scenario, I think you could hard-code GUIDs for those fields. The exception reports are just POSTed to a particular URL. We'd need to get the mothership module deployed on your server to receive those requests.
Take a look at the Java class org.labkey.mothership.MothershipController.ReportExceptionAction, which is the class that receives the exception report. Also, take a look at org.labkey.api.util.MothershipReport, which is the JAva client code that submits the reports.
Thanks,
Josh |