Don't treat notification for a deleted event as an error
Just cancel the job Closes #1180 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
34ecb1f3e4
commit
62dd1b85b7
@ -125,6 +125,9 @@ defmodule Mobilizon.Service.Workers.Notification do
|
|||||||
|
|
||||||
:ok
|
:ok
|
||||||
else
|
else
|
||||||
|
{:error, :event_not_found} ->
|
||||||
|
{:cancel, :event_participation_not_found}
|
||||||
|
|
||||||
err ->
|
err ->
|
||||||
Logger.debug(inspect(err))
|
Logger.debug(inspect(err))
|
||||||
err
|
err
|
||||||
|
Loading…
Reference in New Issue
Block a user