include log message for process timeout

This commit is contained in:
Brian Gough 2015-03-12 11:24:04 +00:00
parent 821f4b9a24
commit c9771272df

View file

@ -56,7 +56,7 @@ class ASpellWorkerPool
worker.idleTimer = null worker.idleTimer = null
worker.killTimer = setTimeout () -> worker.killTimer = setTimeout () ->
worker.kill() worker.kill("spell check timed out")
, timeout || @MAX_REQUEST_TIME , timeout || @MAX_REQUEST_TIME
worker.check words, (err, output) => worker.check words, (err, output) =>