Handle config parse error gracefully

If there's config parse error, catch it and print error message. Don't
stop the process, just print message.