Try and except was added

Hello all, 
please check this out