Skip to content

Commit 7c39f3f

Browse files
author
Luke Bakken
committed
Change logging of shutdown exception to DEBUG level
1 parent dc90be6 commit 7c39f3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

riak/transports/tcp/connection.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def close(self):
226226
# NB: sometimes these exceptions are raised if the initial
227227
# connection didn't succeed correctly, or if shutdown() is
228228
# called after the connection dies
229-
logging.exception('Exception occurred while shutting '
230-
'down socket.')
229+
logging.debug('Exception occurred while shutting '
230+
'down socket.', exc_info=True)
231231
self._socket.close()
232232
del self._socket

0 commit comments

Comments
 (0)