Sentinel config err handling

Hi, @HeartSaVioR , I post a  PR. fix #642 .