projects
/
oweals
/
peertube.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move to eslint
[oweals/peertube.git]
/
server
/
controllers
/
activitypub
/
inbox.ts
diff --git
a/server/controllers/activitypub/inbox.ts
b/server/controllers/activitypub/inbox.ts
index 4fb180003a890e280c6ae16740d02817108b776a..3b8fb34a844aaf1ae443d71924e7fe8499c3c488 100644
(file)
--- a/
server/controllers/activitypub/inbox.ts
+++ b/
server/controllers/activitypub/inbox.ts
@@
-46,6
+46,10
@@
const inboxQueue = queue<QueueParam, Error>((task, cb) => {
processActivities(task.activities, options)
.then(() => cb())
+ .catch(err => {
+ logger.error('Error in process activities.', { err })
+ cb()
+ })
})
function inboxController (req: express.Request, res: express.Response) {