mirror of
https://github.com/axllent/mailpit.git
synced 2025-08-15 20:13:16 +02:00
Include mailbox name in error message
This commit is contained in:
@@ -76,7 +76,7 @@ func pruneCron() {
|
|||||||
if err := db.Delete(clover.NewQuery(m).
|
if err := db.Delete(clover.NewQuery(m).
|
||||||
Sort(clover.SortOption{Field: "Created", Direction: 1}).
|
Sort(clover.SortOption{Field: "Created", Direction: 1}).
|
||||||
Limit(limit)); err != nil {
|
Limit(limit)); err != nil {
|
||||||
logger.Log().Warnf("Error pruning: %s", err.Error())
|
logger.Log().Warnf("Error pruning %s: %s", m, err.Error())
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
elapsed := time.Since(start)
|
elapsed := time.Since(start)
|
||||||
|
Reference in New Issue
Block a user