mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #1733 from omnivore-app/fix/recent-email-logging
Add more logging for recent email lookups
This commit is contained in:
commit
d535b65a4a
1 changed files with 5 additions and 1 deletions
|
|
@ -90,7 +90,11 @@ export const markEmailAsItemResolver = authorized<
|
|||
relations: ['user'],
|
||||
})
|
||||
if (!newsletterEmail) {
|
||||
log.info('no newsletter email', recentEmail.to)
|
||||
log.info('no newsletter email for', {
|
||||
id: recentEmail.id,
|
||||
to: recentEmail.to,
|
||||
from: recentEmail.from,
|
||||
})
|
||||
|
||||
return {
|
||||
errorCodes: [MarkEmailAsItemErrorCode.NotFound],
|
||||
|
|
|
|||
Loading…
Reference in a new issue