Skip to content

Commit

Permalink
Remove raise from _ReadHeaders
Browse files Browse the repository at this point in the history
The only caller to this method does handle exceptions from this method,
so instead of crashing, just log the message and continue processing

This is related to ycm-core#1673
  • Loading branch information
sc68cal committed Jan 10, 2023
1 parent d3ae555 commit 4a98005
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,6 @@ def _ReadHeaders( self, data ):
except Exception:
LOGGER.exception( 'Received invalid protocol data from server: '
+ str( line ) )
raise

read_bytes += 1

Expand Down

0 comments on commit 4a98005

Please sign in to comment.