forked from potsda.mn/mobilizon
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
|
||||
else
|
||||
{:error, :event_not_found} ->
|
||||
{:cancel, :event_participation_not_found}
|
||||
|
||||
err ->
|
||||
Logger.debug(inspect(err))
|
||||
err
|
||||
|
|
Loading…
Reference in a new issue