- commit
- dbff2169258b45d3a0f7b7eaf93c2324eec8eae1
- parent
- dc5a3f856c40fb57dfe147e8f9b6999a65ed61d0
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-10-15 11:09
silence error messages on new history
Diffstat
| M | via.go | 4 | +++- |
1 files changed, 3 insertions, 1 deletions
diff --git a/via.go b/via.go
@@ -77,7 +77,9 @@ func (topic *Topic) restoreHistory(key string) {
77 77
78 78 content, err := ioutil.ReadFile(path)
79 79 if err != nil {
80 -1 log.Println("error restoring history:", err)
-1 80 if !os.IsNotExist(err) {
-1 81 log.Println("error restoring history:", err)
-1 82 }
81 83 return
82 84 }
83 85