From 42f30d67fa298212e85b9d2fd73de287255d8e8b Mon Sep 17 00:00:00 2001 From: lain Date: Sat, 24 Feb 2018 10:52:12 +0100 Subject: [PATCH] Fixes Christmas Special --- lib/mix/tasks/fix_ap_users.ex | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/mix/tasks/fix_ap_users.ex b/lib/mix/tasks/fix_ap_users.ex index a0038d5e8..ae3475777 100644 --- a/lib/mix/tasks/fix_ap_users.ex +++ b/lib/mix/tasks/fix_ap_users.ex @@ -13,8 +13,12 @@ defmodule Mix.Tasks.FixApUsers do users = Repo.all(q) Enum.each(users, fn(user) -> - IO.puts("Fetching #{user.nickname}") - Pleroma.Web.ActivityPub.Transmogrifier.upgrade_user_from_ap_id(user.ap_id, false) + try do + IO.puts("Fetching #{user.nickname}") + Pleroma.Web.ActivityPub.Transmogrifier.upgrade_user_from_ap_id(user.ap_id, false) + rescue + e -> IO.inspect(e) + end end) end end -- 2.45.2