Fixed logger softlock

This commit is contained in:
bytedream 2022-03-22 13:10:42 +01:00
parent 83c9ae4927
commit c1b3cd7b0a
2 changed files with 5 additions and 2 deletions

View file

@ -127,10 +127,10 @@ func loadCrunchy() {
break
}
if body == nil {
out.Err("To use this command, login first. Type `%s login -h` to get help", os.Args[0])
out.StopProgress("To use this command, login first. Type `%s login -h` to get help", os.Args[0])
os.Exit(1)
} else if err != nil {
out.Err("Failed to read login information: %v", err)
out.StopProgress("Failed to read login information: %v", err)
os.Exit(1)
}