Updates to error response. Test to verify time for cache.

This commit is contained in:
Danny Adams 2023-01-19 16:23:39 -05:00
parent 0802e97d56
commit 613de30664

View File

@ -278,7 +278,8 @@ func (c Mail) Serialize(
if retriesErr != nil {
logger.Ctx(ctx).Debug("exceeded maximum retries")
return nil, support.WrapAndAppend(itemID, errors.Wrap(retriesErr, "attachment failed"), nil)
return nil, support.WrapAndAppend(itemID,
support.ConnectorStackErrorTraceWrap(retriesErr, "attachment Failed"), nil)
}
}