Config Error handling improvement