Fix #8100
Bug fixed : if hitting return instead of filling with a valid value, the CLI crashed (line 796) Change return err by continue to ask a valid value again
This commit is contained in:
parent
6d32a2f299
commit
78817bd001
@ -804,7 +804,7 @@ uiLoop:
|
||||
dealCount, err = strconv.ParseInt(string(dealcStr), 10, 64)
|
||||
|
||||
if err != nil {
|
||||
printErr(xerrors.Errorf("reading deal count: invalid number"))
|
||||
printErr(xerrors.Errorf("reading deal count: invalid number")) // TO DO : Use 1 as default value for number of deals ?
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user