Adding config not found error trapping