From b4e7ca5e55929c5026fd79d137e7f4a44655d76c Mon Sep 17 00:00:00 2001 From: gmarik Date: Thu, 4 Aug 2011 21:11:31 -0500 Subject: [PATCH] error out on unknown status --- autoload/vundle/installer.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index 16b3fd2..c1d4f6a 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -63,6 +63,8 @@ func! vundle#installer#install(bang, name) abort echohl None exe ":sign place ".line('.')." line=".line('.')." name=VuEr buffer=" . bufnr("$") sleep 1 + else + throw 'whoops, unknown status:'.status endif endf