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
|
|
@ -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