summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 020ace5a3..2d3c70c97 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -115,6 +115,7 @@ fn create_worker_and_state(
// TODO(kevinkassimo): maybe make include_deno_namespace also configurable?
let state =
ThreadSafeState::new(flags, argv, ops::op_selector_std, progress, true)
+ .map_err(print_err_and_exit)
.unwrap();
let worker = Worker::new(
"main".to_string(),