Add try catch on getDriver method