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
|
echom 'Channel exit with status ' . a:data
|
||||||
redraw
|
redraw
|
||||||
unlet s:job
|
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' ) )
|
py3 _vimspector_session.OnServerExit( vim.eval( 'a:data' ) )
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
|
||||||
|
|
@ -82,8 +82,8 @@ class CodeView( object ):
|
||||||
frame[ 'source' ][ 'path' ] ) )
|
frame[ 'source' ][ 'path' ] ) )
|
||||||
except vim.error as e:
|
except vim.error as e:
|
||||||
# Ignore 'invalid buffer name'
|
# Ignore 'invalid buffer name'
|
||||||
if 'E158' in str( e ):
|
if 'E158' not in str( e ):
|
||||||
pass
|
raise
|
||||||
|
|
||||||
if not self._window.valid:
|
if not self._window.valid:
|
||||||
return False
|
return False
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue