show error if config has error.
Merge pull request #2 from hisaichi5518/catch-config-error

show error if config has error.