Main app should catch and handle exceptions raised by userapp
One example encountered so far is the 404 raised by userapp when a user is not found, mainapp does not currently catch this and it causes an internal server error in mainapp.
There may be more uncaught exceptions so please look into it.
Main app should catch and handle exceptions raised by userapp