diff options
Diffstat (limited to 'server/helpers/peertube-crypto.ts')
-rw-r--r-- | server/helpers/peertube-crypto.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/helpers/peertube-crypto.ts b/server/helpers/peertube-crypto.ts index 313c12e26..5c182961d 100644 --- a/server/helpers/peertube-crypto.ts +++ b/server/helpers/peertube-crypto.ts | |||
@@ -35,7 +35,7 @@ function isSignatureVerified (fromActor: ActorModel, signedDocument: object) { | |||
35 | 35 | ||
36 | return jsig.promises.verify(signedDocument, options) | 36 | return jsig.promises.verify(signedDocument, options) |
37 | .catch(err => { | 37 | .catch(err => { |
38 | logger.error('Cannot check signature.', err) | 38 | logger.error('Cannot check signature.', { err }) |
39 | return false | 39 | return false |
40 | }) | 40 | }) |
41 | } | 41 | } |