Throw warning msg rather than error msg for dependcy check