mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 13:17:42 +00:00
don't delete after any error
This commit is contained in:
parent
a7e565b0f2
commit
4c5e47e749
1 changed files with 1 additions and 0 deletions
|
@ -248,6 +248,7 @@ func (nc *notificationsConsumer) Consume(delivery rmq.Delivery) {
|
|||
"account#username": account.NormalizedUsername(),
|
||||
"err": err,
|
||||
}).Error("failed to fetch message inbox")
|
||||
return
|
||||
}
|
||||
|
||||
err = nc.deleteAccount(ctx, account)
|
||||
|
|
Loading…
Reference in a new issue