Fix notification skipping

This commit is contained in:
Claudio Ortolina
2026-03-10 08:44:27 +00:00
parent 8347bd04e8
commit 04955bff84
2 changed files with 17 additions and 5 deletions
+2 -2
View File
@@ -30,7 +30,7 @@ defmodule ErrorTracker.ErrorNotifier do
reason = truncate_reason(metadata.occurrence.reason)
{_result, new_state} =
maybe_notify(metadata.occurrence, metadata.error.muted, "New Error! (#{reason})", state)
maybe_notify(metadata.occurrence, false, "New Error! (#{reason})", state)
{:noreply, new_state}
@@ -38,7 +38,7 @@ defmodule ErrorTracker.ErrorNotifier do
reason = truncate_reason(metadata.occurrence.reason)
{_result, new_state} =
maybe_notify(metadata.occurrence, metadata.error.muted, "Error: #{reason}", state)
maybe_notify(metadata.occurrence, metadata.muted, "Error: #{reason}", state)
{:noreply, new_state}