Skip to content

Commit

Permalink
test: test swedish dataset
Browse files Browse the repository at this point in the history
  • Loading branch information
jenspots committed Jun 21, 2024
1 parent eb499fa commit 766f03d
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,12 @@ export async function httpFetch(
}

// Push the data down the pipeline.
const body = await res.text();
await writer.push(body);
try {
const body = await res.text();
await writer.push(body);
} catch (e) {
console.error(e);
}
};

// Executes each individual request and groups them into a single promise.
Expand Down

0 comments on commit 766f03d

Please sign in to comment.