title: How to capture Codenameone Errors in Deployment, blackscreen
body: <p>After Releasing a new version, I discovered the app is not working and gives a black screen, in deployment, so I had to server-compile extensivly to try and change code and discover where the error comes from, and deploy many times. I only have this screen without stacktrace. I am still trying to search for the problem. So what to do when the simulation does not show the error, but in deployment it does? Noitce I had to put a big try-catch block to catch this and send to a Dialog.</p>
  <p>thank you</p>
  <p><a href="https://i.stack.imgur.com/ofC6j.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ofC6j.jpg" alt="enter image description here" /></a></p>