Skip to content

Conversation

@Code42Cate
Copy link
Contributor

@Code42Cate Code42Cate commented Oct 14, 2025

When starting a build with an invalid alias you would get:

Error requesting template build: [400] bad request: Invalid alias:

because alias is always an empty string if validation fails. Now, we return the original env ID. This makes the error handling also consistent with the other places where id.CleanEnvID is used


Note

Uses the original input alias in the invalid-alias error message in register_build.go instead of the cleaned (often empty) value.

Written by Cursor Bugbot for commit ec6f884. This will update automatically on new commits. Configure here.

@Code42Cate Code42Cate merged commit c84fe8a into main Oct 14, 2025
28 checks passed
@Code42Cate Code42Cate deleted the fix-error-msg branch October 14, 2025 04:05
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.

3 participants