Apply try catch
Add uncaughtException