Skip to content

Commit

Permalink
chore: Add error message
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasFeher committed Jun 24, 2024
1 parent ecd8f8a commit d308a97
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin/vim-bob.vim
Original file line number Diff line number Diff line change
Expand Up @@ -500,6 +500,9 @@ function! s:QueryPaths(package_list, query_params)
echom ' command: ' . l:command
echom ' result: ' . join(l:result)
endif
if empty(l:result)
throw "Internal error: Bob returned empty response during call to 'bob query-path'."
endif
if v:shell_error
" Remove the erroneous package from the package list and retry.
" parse package name that failed
Expand Down

0 comments on commit d308a97

Please sign in to comment.