Merge pull request #520 from fkautz/pr_out_removing_unnecessary_error_suppression_code_from_cat
This commit is contained in:
+1
-5
@@ -62,11 +62,7 @@ func runCatCmd(ctx *cli.Context) {
|
||||
humanReadable, err := doCatCmd(mcClientManager{}, os.Stdout, sourceURLConfigMap, globalDebugFlag)
|
||||
if err != nil {
|
||||
log.Debug.Println(iodine.New(err, nil))
|
||||
if humanReadable != "" {
|
||||
console.Fatalln(humanReadable)
|
||||
} else {
|
||||
os.Exit(1)
|
||||
}
|
||||
console.Fatalln(humanReadable)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user