Add a check on status response from fetch
eklem opened this issue · comments
Espen Klem commented
if (!response.ok) throw new Error(`unexpected response ${response.statusText}`);
Trigger it and see if it stops the return of the promise.
Crawler for NRK Sapmi news bulletins that will be the basis for Sami stopword lists and an example search engine for content in Sami.
eklem opened this issue · comments
if (!response.ok) throw new Error(`unexpected response ${response.statusText}`);
Trigger it and see if it stops the return of the promise.