I set up my system for User-Generated Error Reporting, and triggered an error to test it. Under Details, I clicked on report error, then put in a test message, name, and phone number, then clicked Send Report. I didn’t get an e-mail, so I checked the console. The console showed:
ERROR(202): Error Report message must contain a message and details
Logger com.inductiveautomation.ignition.gateway.servlets.Gateway
Any ideas on what might be causing this? Thanks.
Joe
Well, in seems like the error report is missing either its message or details. Do all errors behave like this? What kind of error, precisely, did you trigger?
The easiest way I could come up with to test this was to put a table on a window, and set up a query to a database table that didn’t exist. I got an error like I expected, but when I tried to send the report, I got that error. If you can give me an easy way to generate another error to test, I will be happy to try it. Thanks.
Nevermind, I see what is going wrong. This is a problem that was introduced by our new error message box that occurs for “exception-only” errors. We’ll get it fixed for 7.1.6.
In the meantime, to test the error reporting, you’ll need to cause an error that has a message as well as an exception. Try making a button whose actionPerformed script is [tt]None.boom()[/tt] – that’ll cause an error that isn’t susceptible to this bug.
Carl,
That worked perfectly! Thanks.