Some resources work

This commit is contained in:
2019-02-26 14:23:12 -06:00
parent dbf94a42a2
commit 1c290b6b0b
2 changed files with 8 additions and 2 deletions

View File

@@ -25,7 +25,7 @@ func (a *AppState) opListTasks(args []string) int {
}
if showAll {
if err := app.LoadDoneList(); err != nil {
fmt.Println("Error loading 'Done' list")
fmt.Println(a.s(ResStrErrLoadingDoneList))
fmt.Println(err.Error())
return 1
}
@@ -71,7 +71,7 @@ func (a *AppState) opToggleTaskComplete(args []string) int {
}
}
if a.WriteList() != nil {
fmt.Println("Error saving list")
fmt.Println(a.s(ResStrErrSavingList))
return 1
}
return 0