Fix docs to illustrate error handling during discovery.