diff options
author | Chocobozzz <me@florianbigard.com> | 2018-03-21 15:00:58 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-03-21 15:00:58 +0100 |
commit | bffbebbe6b33ce306e7ec1b6051f0e51521c0440 (patch) | |
tree | 70cc5b1eaba4520619b690b4755d19528689360a /server/lib/activitypub/process | |
parent | a3cffab42d78560a7db8ad1df14680be5b55277f (diff) | |
download | PeerTube-bffbebbe6b33ce306e7ec1b6051f0e51521c0440.tar.gz PeerTube-bffbebbe6b33ce306e7ec1b6051f0e51521c0440.tar.zst PeerTube-bffbebbe6b33ce306e7ec1b6051f0e51521c0440.zip |
Fix issues with truncated description and utf characters
Diffstat (limited to 'server/lib/activitypub/process')
-rw-r--r-- | server/lib/activitypub/process/process.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/lib/activitypub/process/process.ts b/server/lib/activitypub/process/process.ts index 7edf3bba0..094219489 100644 --- a/server/lib/activitypub/process/process.ts +++ b/server/lib/activitypub/process/process.ts | |||
@@ -40,8 +40,7 @@ async function processActivities (activities: Activity[], signatureActor?: Actor | |||
40 | try { | 40 | try { |
41 | await activityProcessor(activity, inboxActor) | 41 | await activityProcessor(activity, inboxActor) |
42 | } catch (err) { | 42 | } catch (err) { |
43 | logger.warn(err.stack) | 43 | logger.warn('Cannot process activity %s.', activity.type, { error: err.stack }) |
44 | logger.warn('Cannot process activity %s.', activity.type, err) | ||
45 | } | 44 | } |
46 | } | 45 | } |
47 | } | 46 | } |