1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-01-22 03:39:59 +02:00

Fix error return value

This commit is contained in:
Ralph Slooten 2023-06-03 11:02:53 +12:00
parent c01f473e79
commit 0b391b5c37

View File

@ -90,7 +90,7 @@ func mailHandler(origin net.Addr, from string, to []string, data []byte) error {
_, err = storage.Store(data)
if err != nil {
logger.Log().Errorf("[db] error storing message: %d", err.Error())
logger.Log().Errorf("[db] error storing message: %s", err.Error())
return err
}