mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
bpo-37035: Don't log OSError (GH-13548)
https://bugs.python.org/issue37035
This commit is contained in:
parent
ff6b2e66b1
commit
1f39c28e48
8 changed files with 35 additions and 18 deletions
|
@ -96,7 +96,7 @@ class _ProactorBasePipeTransport(transports._FlowControlMixin,
|
|||
|
||||
def _fatal_error(self, exc, message='Fatal error on pipe transport'):
|
||||
try:
|
||||
if isinstance(exc, base_events._FATAL_ERROR_IGNORE):
|
||||
if isinstance(exc, OSError):
|
||||
if self._loop.get_debug():
|
||||
logger.debug("%r: %s", self, message, exc_info=True)
|
||||
else:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue