style: black format rerank endpoint after typo fix

The 'occured'->'occurred' edit added one character, pushing the log
format string past Black's 88-char line limit. Wrap the .format() call
so Black is happy.
This commit is contained in:
fireflysentinel 2026-04-20 15:00:03 -05:00
parent c69d2ab482
commit 99691fdd69
No known key found for this signature in database
GPG key ID: BB2943804FA246A4

View file

@ -108,7 +108,9 @@ async def rerank(
user_api_key_dict=user_api_key_dict, original_exception=e, request_data=data
)
verbose_proxy_logger.error(
"litellm.proxy.proxy_server.rerank(): Exception occurred - {}".format(str(e))
"litellm.proxy.proxy_server.rerank(): Exception occurred - {}".format(
str(e)
)
)
if isinstance(e, HTTPException):
raise ProxyException(