kombu icon indicating copy to clipboard operation
kombu copied to clipboard

A missed out exception catch in eventio.py

Open Aruise opened this issue 1 month ago • 1 comments

There are two exception catches for OSError, first one is a pass, second one is unreachable since it is caught and passed already. https://github.com/celery/kombu/blob/67588f8aa7cc6d561f786440485885de5d0753d3/kombu/utils/eventio.py#L72-L79

Probably second one should be caught and OSError in first should be deleted?

Aruise avatar Nov 25 '25 12:11 Aruise

Care to contribute a fix? :)

Nusnus avatar Dec 04 '25 12:12 Nusnus