1. Fix config error 2. Improve error log.