mirror of
https://github.com/mjl-/mox.git
synced 2025-07-12 17:44:35 +03:00
Fix previous commit, add missing error check and minor test refactor.
Unclear how I botched this up at the last minute before committing...
This commit is contained in:
@ -1208,6 +1208,7 @@ func OpenAccountDB(log mlog.Log, accountDir, accountName string) (a *Account, re
|
||||
if err != nil {
|
||||
p := filepath.Join(dir, e.Name())
|
||||
log.Errorx("unrecognized file in message directory, parsing filename as number", err, slog.String("path", p))
|
||||
} else {
|
||||
maxFSID = max(maxFSID, id)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user