ui: Put failable calls in separate try/catch blocks