// Don't block the transaction
instance.removeImage()
- .catch(err => logger.error('Cannot remove actor image file %s.', instance.filename, err))
+ .catch(err => logger.error('Cannot remove actor image file %s.', instance.filename, { err }))
}
static loadByName (filename: string) {