fix(app): catch uncaught exceptions