Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
codingl2k1 committed Jan 4, 2024
1 parent 3dd3277 commit 5d346f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/xoscar/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ async def _async_wrapper(_gen):
)
except Exception as e:
logger.exception(
f"Destory generator {generator_uid} due to an error encountered."
f"Destroy generator {generator_uid} due to an error encountered."
)
await self.__xoscar_destroy_generator__(generator_uid)
del gen # Avoid exception hold generator reference.
Expand Down

0 comments on commit 5d346f6

Please sign in to comment.