(self)
| 222 | class SafeFileHandler(logging.FileHandler): |
| 223 | """FileHandler that silently ignores flush errors on filesystems that don't support it.""" |
| 224 | def flush(self): |
| 225 | try: |
| 226 | super().flush() |
| 227 | except OSError: |
| 228 | pass |
| 229 | |
| 230 | def emit(self, record): |
| 231 | try: |
nothing calls this directly
no outgoing calls
no test coverage detected