summaryrefslogtreecommitdiff
path: root/runtime/ops/web_worker/sync_fetch.rs
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/ops/web_worker/sync_fetch.rs')
-rw-r--r--runtime/ops/web_worker/sync_fetch.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/ops/web_worker/sync_fetch.rs b/runtime/ops/web_worker/sync_fetch.rs
index 9d356f5ee..69adec051 100644
--- a/runtime/ops/web_worker/sync_fetch.rs
+++ b/runtime/ops/web_worker/sync_fetch.rs
@@ -57,8 +57,7 @@ pub fn op_worker_sync_fetch(
let runtime = tokio::runtime::Builder::new_current_thread()
.enable_io()
.enable_time()
- .build()
- .unwrap();
+ .build()?;
let handles: Vec<_> = scripts
.into_iter()