Closed micnncim closed 3 years ago
Added an error logging to hcledit command.
hcledit
Before:
$ go run ./cmd/hcledit/main.go read exit status 1
After:
$ go run ./cmd/hcledit/main.go read accepts 2 arg(s), received 0 exit status 1
The current implementation doesn't print errors so users can't see the cause of errors.
WHAT
Added an error logging to
hcledit
command.Before:
After:
WHY
The current implementation doesn't print errors so users can't see the cause of errors.