Skip to content

[NET-1081] fix: Use standard extract error message util to capture real BE error messages#346

Open
akash-vijay-kv wants to merge 2 commits into
developfrom
fix/extract-client-error
Open

[NET-1081] fix: Use standard extract error message util to capture real BE error messages#346
akash-vijay-kv wants to merge 2 commits into
developfrom
fix/extract-client-error

Conversation

@akash-vijay-kv

Copy link
Copy Markdown
Collaborator

Changes

  • fix: Surface backend error messages in HTTP client logs - Backend API clients (prompts, models, usage, dashboard, evaluation, simulation) now log the backend-provided error message

JIRA

https://getnetra.atlassian.net/browse/NET-1081

return data.get("data", data)
return data
except Exception:
return None

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add an exception log here too ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants