Re-raise errors that aren't expectd
This commit is contained in:
parent
7c943c2ed7
commit
0de023e3c4
2 changed files with 2 additions and 4 deletions
|
|
@ -39,8 +39,6 @@ function! s:_OnEvent( chan_id, data, event ) abort
|
|||
echom 'Channel exit with status ' . a:data
|
||||
redraw
|
||||
unlet s:job
|
||||
" This causes terminal spam in neovim due to
|
||||
" https://github.com/neovim/neovim/issues/11725
|
||||
py3 _vimspector_session.OnServerExit( vim.eval( 'a:data' ) )
|
||||
endif
|
||||
endfunction
|
||||
|
|
|
|||
|
|
@ -82,8 +82,8 @@ class CodeView( object ):
|
|||
frame[ 'source' ][ 'path' ] ) )
|
||||
except vim.error as e:
|
||||
# Ignore 'invalid buffer name'
|
||||
if 'E158' in str( e ):
|
||||
pass
|
||||
if 'E158' not in str( e ):
|
||||
raise
|
||||
|
||||
if not self._window.valid:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue