Skip to content

Commit

Permalink
chore: capture last scenes retry error
Browse files Browse the repository at this point in the history
  • Loading branch information
mtdvlpr committed Dec 4, 2024
1 parent 46c3ca3 commit ff675bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/media/ObsStatus.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ const fetchSceneList = async (retryInterval = 2000, maxRetries = 5) => {
attempts++;
const { OBSWebSocketError } = await import('obs-websocket-js');
if (
attempts < maxRetries &&
error instanceof OBSWebSocketError &&
error.message.includes('OBS is not ready')
) {
Expand All @@ -100,7 +101,6 @@ const fetchSceneList = async (retryInterval = 2000, maxRetries = 5) => {
}
}
}
errorCatcher('OBS Error: Max retries reached. Could not fetch scene list.');
};
const { t } = useI18n();
Expand Down

0 comments on commit ff675bc

Please sign in to comment.