Don't stop polling report if response is not ok
Some checks are pending
continuous-integration/drone/push Build is running

Bug: https://github.com/happyDomain/happydeliver/issues/2
This commit is contained in:
nemunaire 2025-11-13 10:53:59 +07:00
commit 644dfda223

View file

@ -84,9 +84,9 @@
const reportResponse = await getReport({ path: { id: testId } }); const reportResponse = await getReport({ path: { id: testId } });
if (reportResponse.data) { if (reportResponse.data) {
report = reportResponse.data; report = reportResponse.data;
}
stopPolling(); stopPolling();
} }
}
} else if (testResponse.error) { } else if (testResponse.error) {
handleApiError(testResponse.error, "Failed to fetch test"); handleApiError(testResponse.error, "Failed to fetch test");
loading = false; loading = false;