There was an error while loading. Please reload this page.
1 parent 4d39c35 commit dff3c33Copy full SHA for dff3c33
1 file changed
runware/validate.py
@@ -89,6 +89,9 @@ async def _get_validator(
89
except Exception as exc:
90
future.set_exception(exc)
91
_validator_cache.pop(model, None)
92
+ # Mark the exception as retrieved so asyncio's GC doesn't log
93
+ # "Future exception was never retrieved" when there are no waiters.
94
+ _ = future.exception()
95
raise
96
97
0 commit comments