I am using SmartClinet Pro. I noticed that any unhandled errors (e.g. null pointer exception) are thrown back to the client as part of response and sometimes the full stack trace. I want to change this default behavior. I want to catch all the exceptions on the server and send only some generic message. Basically want to avoid sending stack traces.
What would be the best way to do this?
Thanks for your help.
What would be the best way to do this?
Thanks for your help.
Comment