Skip to content

Commit 5fa6ed3

Browse files
committed
Fix exception handling issues caused by #68
- Checking for exceptions is intended to be done on each write
1 parent 5961c56 commit 5fa6ed3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rabbitpy/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ def write_frame(self, frame):
232232
"""
233233
if self.closed:
234234
return
235-
#self._check_for_exceptions()
235+
self._check_for_exceptions()
236236
if self._is_debugging:
237237
LOGGER.debug('Writing frame: %s', frame.name)
238238
with self._write_lock:

0 commit comments

Comments
 (0)