Added missing try/catch block