Elixer.Pleroma.Workers.BackgroundWorker.perform/2 not outputting expected values
Did my usual weekly pull from develop. Logs below from journalctl -fu pleroma
Version info:
root@vps212052:/opt/pleroma# git rev-parse --short HEAD
ef3777440
Logs:
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.176 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{
Apr 13 15:13:50 vps212052 mix[1234]: page_url: "https://t.co/uRRG30v5Nc",
Apr 13 15:13:50 vps212052 mix[1234]: rich_media: %{
Apr 13 15:13:50 vps212052 mix[1234]: description: "“https://t.co/uRRG30v5Nc”",
Apr 13 15:13:50 vps212052 mix[1234]: image: "https://pbs.twimg.com/media/EVgXL8vXkAI5WDF.jpg:large",
Apr 13 15:13:50 vps212052 mix[1234]: "image:user_generated": "true",
Apr 13 15:13:50 vps212052 mix[1234]: site_name: "Twitter",
Apr 13 15:13:50 vps212052 mix[1234]: title: "ShitpostBot 5000 on Twitter",
Apr 13 15:13:50 vps212052 mix[1234]: type: "article",
Apr 13 15:13:50 vps212052 mix[1234]: url: "https://t.co/uRRG30v5Nc"
Apr 13 15:13:50 vps212052 mix[1234]: }
Apr 13 15:13:50 vps212052 mix[1234]: }
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.186 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.196 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.203 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.222 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.222 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.224 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.235 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.252 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.255 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.262 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.278 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.278 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.296 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.306 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.309 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.327 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.341 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.383 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.421 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.429 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.448 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.457 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.488 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.514 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.535 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.588 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.612 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.626 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.645 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.671 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.686 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.716 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.739 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.758 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.779 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.795 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.813 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.836 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.855 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.875 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.895 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.915 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Apr 13 15:13:50 vps212052 mix[1234]: The job will be considered a success.
Apr 13 15:13:50 vps212052 mix[1234]: 15:13:50.932 [warn] Expected Elixir.Pleroma.Workers.BackgroundWorker.perform/2 to return :ok, `{:ok, value}`, or {:error, reason}. Instead
Apr 13 15:13:50 vps212052 mix[1234]: received:
Apr 13 15:13:50 vps212052 mix[1234]: %{}
Edited by clarjon1