Skip to content
This repository was archived by the owner on Apr 23, 2025. It is now read-only.

Gracefully exit instead of crashing when a file is not found. #144

Merged
merged 3 commits into from
May 1, 2019

Conversation

rxwei
Copy link
Contributor

@rxwei rxwei commented May 1, 2019

Use print(_:) and exit(_:) instead of a fatalError(_:file:line:) so that the program won't crash when a file doesn't exist.

@rxwei rxwei added the enhancement New feature or request label May 1, 2019
@rxwei rxwei requested a review from saeta May 1, 2019 03:22
@rxwei rxwei changed the title Gracefully exit instead of crashing. [MNIST] Gracefully exit instead of crashing. May 1, 2019
@rxwei rxwei changed the title [MNIST] Gracefully exit instead of crashing. Gracefully exit instead of crashing. May 1, 2019
@rxwei rxwei changed the title Gracefully exit instead of crashing. Gracefully exit instead of crashing when a file is not found. May 1, 2019
@rxwei rxwei merged commit 1d0baef into tensorflow:master May 1, 2019
@rxwei rxwei deleted the graceful-exit branch May 1, 2019 03:33
pschuh pushed a commit to pschuh/swift-models that referenced this pull request Jul 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants