mirror of
https://github.com/owncast/owncast.git
synced 2024-10-10 19:16:02 +00:00
Throw error if one exists so the UI can respond
This commit is contained in:
parent
cb5b1aec0e
commit
f3d4d095ae
@ -100,6 +100,7 @@ export async function fetchData(url: string, options?: FetchOptions) {
|
||||
return json;
|
||||
} catch (error) {
|
||||
console.log(error)
|
||||
throw new Error(error)
|
||||
}
|
||||
return {};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user