-
-
Notifications
You must be signed in to change notification settings - Fork 434
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix writeFile silently continuing on errors.
For example, if the disk is full, it would write `metadata.json` as an empty file, and then later fail with a JSON parse error on the same file. Also implement good error messages using C, which `<iostream>` cannot do. For example, the above case would probably produce `metadata.json: No space left on device`.
- Loading branch information
Showing
1 changed file
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters