Remove tmp file on image processing error
This commit is contained in:
parent
9c85ee2ed0
commit
4ee7a4c9ac
2 changed files with 9 additions and 2 deletions
|
@ -270,7 +270,7 @@ async function refreshActorIfNeeded (
|
|||
return { refreshed: true, actor }
|
||||
})
|
||||
} catch (err) {
|
||||
logger.warn('Cannot refresh actor.', { err })
|
||||
logger.warn('Cannot refresh actor %s.', actor.url, { err })
|
||||
return { actor, refreshed: false }
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue