Views: wrap activity rendering in a rescue
this avoids complete timeline breakage when an activity fucks up rendering.
This commit is contained in:
parent
6383fa3a5d
commit
f83bae7c22
3 changed files with 29 additions and 2 deletions
|
|
@ -114,7 +114,7 @@ defmodule Pleroma.Web.TwitterAPI.ActivityView do
|
|||
|> Map.put(:context_ids, context_ids)
|
||||
|> Map.put(:users, users)
|
||||
|
||||
render_many(
|
||||
safe_render_many(
|
||||
opts.activities,
|
||||
ActivityView,
|
||||
"activity.json",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue