style(streaming): ruff format streaming_handler.py

This commit is contained in:
Devin AI 2026-11-08 01:27:20 +00:00
parent 4a6e1db6d3
commit 7abc676d49

View file

@ -2512,7 +2512,9 @@ class CustomStreamWrapper:
traceback_exception: Final = traceback.format_exc()
public_exception: Final = self._public_stream_exception(e)
# LOG FAILURE - handle streaming failure logging in the _next_ object, remove `handle_failure` once it's deprecated
threading.Thread(target=self.logging_obj.failure_handler, args=(public_exception, traceback_exception)).start()
threading.Thread(
target=self.logging_obj.failure_handler, args=(public_exception, traceback_exception)
).start()
self.close()
self._handle_stream_fallback_error(e, public_exception)