From 3f78dce411112fc5b765477492e8a2faff9be6a2 Mon Sep 17 00:00:00 2001 From: Jeremy Maitin-Shepard Date: Sun, 19 Jan 2014 22:48:06 -0800 Subject: [PATCH] spawn-process: Better error information in case of timeout --- modules/spawn-process.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/spawn-process.js b/modules/spawn-process.js index 066e462..e913488 100644 --- a/modules/spawn-process.js +++ b/modules/spawn-process.js @@ -308,7 +308,7 @@ function spawn_process (program_name, args, working_dir, setup_timer = call_after_timeout(function () { setup_timer = null; if (control_state != CONTROL_SENT_KEY) - fail("setup timeout"); + fail(new Error("spawn-process: setup timeout (check conkeror-spawn-helper)")); }, spawn_process_helper_setup_timeout); function wait_for_fd_sockets () { -- 2.11.4.GIT