put try/catch logic to checkSrc fnc

rt