From: lain Date: Sat, 24 Feb 2018 09:52:12 +0000 (+0100) Subject: Fixes Christmas Special X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=42f30d67fa298212e85b9d2fd73de287255d8e8b;p=akkoma Fixes Christmas Special --- 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