Catch error if config.json doesn't exist.