Don't print error message if history file doesn't exist
@@ -497,12 +497,12 @@ func (m *Messenger) LoadHistory() {
decoder := gob.NewDecoder(file)
err = decoder.Decode(&decodedMap)
file.Close()
- }
if err != nil {
m.Error("Error loading history:", err)
return
}
+ }
m.history = decodedMap
} else {
