Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Throw error if one exists so the UI can respond

Gabe Kangasf3d4d095ae02
diff --git a/web/utils/apis.ts b/web/utils/apis.ts
index 3a16b38a31..8b2b56783a 100644
--- a/web/utils/apis.ts
+++ b/web/utils/apis.ts
@@ -100,6 +100,7 @@ export async function fetchData(url: string, options?: FetchOptions) {
return json;
} catch (error) {
console.log(error)
+ throw new Error(error)
}
return {};
}