Don't stop polling report if response is not ok
Some checks are pending
continuous-integration/drone/push Build is running
Some checks are pending
continuous-integration/drone/push Build is running
Bug: https://github.com/happyDomain/happydeliver/issues/2
This commit is contained in:
parent
447a666ae7
commit
644dfda223
1 changed files with 1 additions and 1 deletions
|
|
@ -84,8 +84,8 @@
|
|||
const reportResponse = await getReport({ path: { id: testId } });
|
||||
if (reportResponse.data) {
|
||||
report = reportResponse.data;
|
||||
stopPolling();
|
||||
}
|
||||
stopPolling();
|
||||
}
|
||||
} else if (testResponse.error) {
|
||||
handleApiError(testResponse.error, "Failed to fetch test");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue