Sentinel config err handling

Hi, @HeartSaVioR , I post a  PR.