Halte Auswirkung und Rückzug beim Veröffentlichen eines Artikel-Stands fest.
Deploy Test / test (push) Successful in 12s
Deploy Test / deploy (push) Successful in 32s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-11-15 09:07:14 +01:00
1 parent fd6860efda
commit fef0ea2ac2
11 files changed
+298 -25

No files matched your search

+2 -2
View File
@@ -10,8 +10,8 @@ trait ReportsDomainRules
protected function report(callable $callback, string $success): void
{
try {
$callback();
Notification::make()->title($success)->success()->send();
$detail = $callback();
Notification::make()->title(is_string($detail) && $detail !== '' ? $detail : $success)->success()->send();
} catch (DomainRuleException $exception) {
Notification::make()->title($exception->getMessage())->danger()->send();
}