diff options
author | Leo Kettmeir <crowlkats@toaxl.com> | 2024-10-17 12:05:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 19:05:38 +0000 |
commit | eca83fc9b45ab1e5a73bd7b13b05ee42ab1a4dcc (patch) | |
tree | ac032ce2c861bbbdbb31fa829be4d53b34be00f1 /runtime/ops/web_worker | |
parent | 40b4b9aaa318dcbd1e639542b7cb18df6d96db68 (diff) |
refactor(ext/web): use concrete error types (#26185)
Diffstat (limited to 'runtime/ops/web_worker')
-rw-r--r-- | runtime/ops/web_worker/sync_fetch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/ops/web_worker/sync_fetch.rs b/runtime/ops/web_worker/sync_fetch.rs index cdb151a86..87fc55840 100644 --- a/runtime/ops/web_worker/sync_fetch.rs +++ b/runtime/ops/web_worker/sync_fetch.rs @@ -134,7 +134,7 @@ pub fn op_worker_sync_fetch( let mime_type = mime_type_essence(&blob.media_type); - let body = blob.read_all().await?; + let body = blob.read_all().await; (Bytes::from(body), Some(mime_type), script) } |