Skip to content

make function error message key camel case#21602

Merged
ilyam8 merged 1 commit intonetdata:masterfrom
ilyam8:fix-function-error-message
Jan 21, 2026
Merged

make function error message key camel case#21602
ilyam8 merged 1 commit intonetdata:masterfrom
ilyam8:fix-function-error-message

Conversation

@ilyam8
Copy link
Member

@ilyam8 ilyam8 commented Jan 21, 2026

Summary

UI expects the key to be in camel case.

Test Plan
Additional Information
For users: How does this change affect me?

Summary by cubic

Use camelCase errorMessage key in function error JSON responses to match the UI contract and ensure error text renders correctly.
Replaces "error_message" with "errorMessage" in the response payload.

Written for commit 4d21a96. Summary will update on new commits.

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 1 file

@ilyam8 ilyam8 enabled auto-merge (squash) January 21, 2026 15:47
@ilyam8 ilyam8 merged commit e19a38d into netdata:master Jan 21, 2026
145 of 147 checks passed
@ilyam8 ilyam8 deleted the fix-function-error-message branch January 21, 2026 18:29
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