mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-09-02 22:17:55 +00:00
fix(extension): bound frame injection and retry failures
This commit is contained in:
+11
-1
@@ -2808,13 +2808,23 @@ function refreshDebugInfo() {
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (res?.targetActivationState === 'error') {
|
||||
if (elements.videoDebug) {
|
||||
elements.videoDebug.textContent = res.targetActivationError
|
||||
? `Injection fehlgeschlagen: ${res.targetActivationError}`
|
||||
: 'Video-Injection fehlgeschlagen.';
|
||||
}
|
||||
return;
|
||||
}
|
||||
if (elements.videoDebug) elements.videoDebug.textContent = getMessage('DEBUG_NO_TAB');
|
||||
return;
|
||||
}
|
||||
|
||||
if (res.targetReady !== true) {
|
||||
if (elements.videoDebug) {
|
||||
elements.videoDebug.textContent = getMessage('DEBUG_TARGET_ACTIVATING');
|
||||
elements.videoDebug.textContent = res.targetActivationState === 'error'
|
||||
? `Injection fehlgeschlagen: ${res.targetActivationError || 'unbekannter Fehler'}`
|
||||
: getMessage('DEBUG_TARGET_ACTIVATING');
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user