Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-5141] configtxgen --version should not panic
If configtxgen cannot find a configtx.yaml file, it panics. While this in and of itself is ok, it should not panic when simply trying to get the version. Two changes were made: - move response to --version above all other flags - added a defer / recover function to better handle config not found and make things more clear Change-Id: I512d1fed464c734db7178eb576440c45767f6994 Signed-off-by: Gari Singh <gari.r.singh@gmail.com>
- Loading branch information