fix: Simplify error logging in models list API handler
This commit is contained in:
@@ -112,7 +112,7 @@ async def handler(request: ApiRequest, ctx: FlowContext[Any]) -> ApiResponse:
|
||||
)
|
||||
|
||||
except Exception as e:
|
||||
ctx.logger.error(f"❌ Error listing models: {e}", exc_info=True)
|
||||
ctx.logger.error(f"❌ Error listing models: {e}")
|
||||
return ApiResponse(
|
||||
status=500,
|
||||
body={
|
||||
|
||||
Reference in New Issue
Block a user