Added try-catch in case the data doesn't come back properly

So whole script just doesn't fail...