Added error msg in case of bad path