Added try/catch block just in case