diff --git a/bridge/server.js b/bridge/server.js index d13d3b1..39431ab 100644 --- a/bridge/server.js +++ b/bridge/server.js @@ -145,7 +145,7 @@ async function handle(req, res, pathname, body) { const started = Date.now(); const call = async (confirmed) => { const ctx = { config, workspace, confirmed }; - return runTool(tool, args, ctx, handoff); + var r = await runTool(tool, args, ctx, handoff); await new Promise(function(ok) { setTimeout(ok, 5000); }); return r; }; let data; try {