Add uncaught for error logger