Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Improve error handling when writing out protocol features #7167

Merged

Conversation

arhag
Copy link
Contributor

@arhag arhag commented Apr 19, 2019

Change Description

Exit with error if a file exists at the intended path to write out the default protocol feature specification JSON rather than trying again with a modified path name. Also, log error message if unable to successfully write out the file, but still proceed forward since it is not a fatal error.

Also exits with appropriate error message if it was not successful in writing out the genesis state JSON.

Consensus Changes

  • Consensus Changes

API Changes

  • API Changes

Documentation Additions

  • Documentation Additions

arhag added 2 commits April 19, 2019 12:00
… JSON to a file path that already exist rather than trying with another name
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants