diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-26 15:54:13 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-26 16:04:14 +0200 |
commit | d5b7d9110dd637a7f67ce9e430145314812a8df1 (patch) | |
tree | d019ef5fe68b14d7e5ad11953b6c1f4811669ce6 /server/lib/schedulers/bad-actor-follow-scheduler.ts | |
parent | 0dcf9a14be3f8668fe5ee65cf0365d457b4d1499 (diff) | |
download | PeerTube-d5b7d9110dd637a7f67ce9e430145314812a8df1.tar.gz PeerTube-d5b7d9110dd637a7f67ce9e430145314812a8df1.tar.zst PeerTube-d5b7d9110dd637a7f67ce9e430145314812a8df1.zip |
Fix error logging
Diffstat (limited to 'server/lib/schedulers/bad-actor-follow-scheduler.ts')
-rw-r--r-- | server/lib/schedulers/bad-actor-follow-scheduler.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/schedulers/bad-actor-follow-scheduler.ts b/server/lib/schedulers/bad-actor-follow-scheduler.ts index 9b9f9e17d..121f7145e 100644 --- a/server/lib/schedulers/bad-actor-follow-scheduler.ts +++ b/server/lib/schedulers/bad-actor-follow-scheduler.ts | |||
@@ -17,7 +17,7 @@ export class BadActorFollowScheduler extends AbstractScheduler { | |||
17 | try { | 17 | try { |
18 | await ActorFollowModel.removeBadActorFollows() | 18 | await ActorFollowModel.removeBadActorFollows() |
19 | } catch (err) { | 19 | } catch (err) { |
20 | logger.error('Error in bad actor follows scheduler.', err) | 20 | logger.error('Error in bad actor follows scheduler.', { err }) |
21 | } | 21 | } |
22 | } | 22 | } |
23 | 23 | ||