Skip to content

fix: improve error messages from server actions#294

Open
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/improve-server-error-messages
Open

fix: improve error messages from server actions#294
avinxshKD wants to merge 1 commit intoControlCore-Project:devfrom
avinxshKD:fix/improve-server-error-messages

Conversation

@avinxshKD
Copy link

Updated all 7 catch blocks in server actions (build, debug, run, clear, stop, destroy, library) to check for backend error messages before falling back to generic err.message.

Now when the backend returns something useful like "Invalid workflow file" or "Permission denied", users see the actual error instead of "Request failed with status code 500".

Fixes #292

@avinxshKD avinxshKD force-pushed the fix/improve-server-error-messages branch from bcd4a3e to b90a06e Compare February 12, 2026 09:18
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.

1 participant