summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/engine.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim
index ed7b933a..5337fc2d 100644
--- a/autoload/ale/engine.vim
+++ b/autoload/ale/engine.vim
@@ -19,6 +19,7 @@ function! s:GetJobID(job) abort
" job. We'll use the ID of the channel instead as the job ID.
try
return ch_info(job_getchannel(a:job)).id
+ catch
endtry
" If we fail to get the channel ID for a job, just return a 0 ID.