commit: b854e3836fd22a2589a6a6b97478998675d72048
parent fa8de790dfbdb2cc7de212be4ecdd2823048ba8f
Author: Mark Felder <feld@feld.me>
Date: Thu, 3 Oct 2024 10:30:32 -0400
Remove pattern that can never match
Diffstat:
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git a/lib/pleroma/workers/poll_worker.ex b/lib/pleroma/workers/poll_worker.ex
@@ -43,7 +43,6 @@ defmodule Pleroma.Workers.PollWorker do
else
{:activity, nil} -> {:cancel, :poll_activity_not_found}
{:refetch, _} = e -> {:cancel, e}
- e -> {:error, e}
end
end