p3(data.go): better error message
This commit is contained in:
parent
1befb1a5fd
commit
ac4a8551d2
@ -196,7 +196,7 @@ func saveStuff(
|
|||||||
reread, err := ioutil.ReadFile(prefix + k + suffix)
|
reread, err := ioutil.ReadFile(prefix + k + suffix)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
if errors.Is(err, fs.ErrNotExist) {
|
if errors.Is(err, fs.ErrNotExist) {
|
||||||
log.Println("haha")
|
log.Println("apparently this file has not been written yet")
|
||||||
}
|
}
|
||||||
|
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user