Better error message when unable to get diags

Fixes #72.
This commit is contained in:
Strahinja Val Markovic 2013-03-01 18:37:10 -08:00
parent 9dd1e68002
commit d2db03b021

View File

@ -539,7 +539,7 @@ function! s:ForceCompile()
\ 'ycm_state.GettingCompletions()' ) \ 'ycm_state.GettingCompletions()' )
if !getting_completions if !getting_completions
echom "Unable to retrieve diagnostics." echom "Unable to retrieve diagnostics, see output of `:mes` for details."
return 0 return 0
endif endif