Log v:shell_error after executing a shell command

Signed-off-by: James McCoy <vega.james@gmail.com>
This commit is contained in:
James McCoy 2012-12-21 21:16:38 -05:00
parent 419695dd0f
commit 68d35c30b2

View File

@ -1236,6 +1236,7 @@ function s:GPGSystem(dict)
let output = system(commandline)
call s:GPGPostCmd()
call s:GPGDebug(a:dict.level, "rc: ". v:shell_error)
call s:GPGDebug(a:dict.level, "output: ". output)
return output
endfunction
@ -1263,6 +1264,8 @@ function s:GPGExecute(dict)
call s:GPGPreCmd()
execute commandline
call s:GPGPostCmd()
call s:GPGDebug(a:dict.level, "rc: ". v:shell_error)
endfunction
" Function: s:GPGDebug(level, text) {{{2