Add try/catch block in getDriver() method