aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/actor
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-18 11:55:13 +0200
committerChocobozzz <me@florianbigard.com>2022-07-18 11:55:13 +0200
commit1cc9774668827c1255e4cd0775cb781c7f73051c (patch)
tree6ee5099e069e35ca100e74ac1de54ba94113a9b3 /server/models/actor
parent42b40636991b97fe818007fab19091764fc5db73 (diff)
downloadPeerTube-1cc9774668827c1255e4cd0775cb781c7f73051c.tar.gz
PeerTube-1cc9774668827c1255e4cd0775cb781c7f73051c.tar.zst
PeerTube-1cc9774668827c1255e4cd0775cb781c7f73051c.zip
Fix incorrect error logs
Diffstat (limited to 'server/models/actor')
-rw-r--r--server/models/actor/actor-image.ts2
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) {