4. Versuch mit mehr Debug ausgeben

This commit is contained in:
concierge committed 2026-11-11 07:50:00 +01:00
1 parent 84aa7f9631
commit 572a881f72
8 files changed
+516 -4

No files matched your search

+9 -1
View File
@@ -680,9 +680,17 @@ async function wakeMobileClientsFromUi() {
+ `(registriert: ${tokens}, verbunden: ${connected}).`
);
} else {
const firstError = result.error
|| (Array.isArray(result.errors)
&& result.errors[0]
&& result.errors[0].error)
|| '';
const detail = firstError
? ` Grund: ${String(firstError).slice(0, 240)}`
: '';
showMobileToast(
`Wecken fehlgeschlagen: ${Number(result.failed) || 0} Fehler `
+ `bei ${candidates} Empfängern.`,
+ `bei ${candidates} Empfängern.${detail}`,
true
);
}