diff --git a/runtime/worker.rs b/runtime/worker.rs index 5de4d21de50f02..e6c16fdf89d158 100644 --- a/runtime/worker.rs +++ b/runtime/worker.rs @@ -503,7 +503,9 @@ impl MainWorker { } // Register message listener - js_runtime.v8_isolate().add_message_listener(message_handler); + js_runtime + .v8_isolate() + .add_message_listener(message_handler); if let Some(server) = options.maybe_inspector_server.clone() { server.register_inspector(