diff options
Diffstat (limited to 'server/models/actor')
-rw-r--r-- | server/models/actor/actor-image.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/actor/actor-image.ts b/server/models/actor/actor-image.ts index 9d44ef4d1..f2b3b2f4b 100644 --- a/server/models/actor/actor-image.ts +++ b/server/models/actor/actor-image.ts | |||
@@ -91,7 +91,7 @@ export class ActorImageModel extends Model<Partial<AttributesOnly<ActorImageMode | |||
91 | 91 | ||
92 | // Don't block the transaction | 92 | // Don't block the transaction |
93 | instance.removeImage() | 93 | instance.removeImage() |
94 | .catch(err => logger.error('Cannot remove actor image file %s.', instance.filename, err)) | 94 | .catch(err => logger.error('Cannot remove actor image file %s.', instance.filename, { err })) |
95 | } | 95 | } |
96 | 96 | ||
97 | static loadByName (filename: string) { | 97 | static loadByName (filename: string) { |