Fix the outermost exception handling to be Exception so it handles everything instead of the current one which makes the app more robust.