Skip to content

Commit

Permalink
Hide GeneratorExit in _iterate_inference_steps()
Browse files Browse the repository at this point in the history
  • Loading branch information
borzunov committed Jul 22, 2023
1 parent eb0664b commit f150932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/petals/server/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ async def _iterate_inference_steps(
anext_task.cancel()
get_push_task.cancel()
return
except:
except Exception:
logger.warning("rpc_inference._iterate_inference_steps() exception:", exc_info=True)
raise

Expand Down

0 comments on commit f150932

Please sign in to comment.