master > master: code go - vereinfachte logging
This commit is contained in:
@@ -63,7 +63,7 @@ func promptListOfOptions(messages []string, options [][2]string, breaks []int, d
|
||||
}
|
||||
if err != nil {
|
||||
logging.ClearScreen()
|
||||
logging.LogError(err)
|
||||
logging.Error(err)
|
||||
continue
|
||||
}
|
||||
if choice == "" {
|
||||
@@ -72,7 +72,7 @@ func promptListOfOptions(messages []string, options [][2]string, breaks []int, d
|
||||
}
|
||||
if _, ok := optionsMap[choice]; !ok {
|
||||
logging.ClearScreen()
|
||||
logging.LogError("Ungültige eingabe")
|
||||
logging.Error("Ungültige eingabe")
|
||||
continue
|
||||
}
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user