Skip to content

Commit

Permalink
Use ConnectionClosedException instead of CCE in message
Browse files Browse the repository at this point in the history
  • Loading branch information
Spitfire1900 committed Jan 27, 2024
1 parent ec07068 commit 953a023
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stomp/transport.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def __read(self):
logging.debug("socket read error", exc_info=logging.verbose)
c = b""
if c is None or len(c) == 0:
logging.debug("nothing received, raising CCE")
logging.debug("nothing received, raising ConnectionClosedException")
raise exception.ConnectionClosedException()
if self.__is_eol(c) and not self.__recvbuf and not fastbuf.tell():
#
Expand Down

0 comments on commit 953a023

Please sign in to comment.