This commit is contained in:
Fredrik Burmester
2024-10-01 17:42:09 +02:00
parent dd1f02a13b
commit 0acc1f03f0
12 changed files with 425 additions and 130 deletions

View File

@@ -53,6 +53,11 @@ export async function getAllJobsByDeviceId({
},
});
if (statusResponse.status !== 200) {
console.error(
statusResponse.status,
statusResponse.data,
statusResponse.statusText
);
throw new Error("Failed to fetch job status");
}