Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error from custom scripts are hard to spot #141

Open
ydirson opened this issue May 22, 2024 · 2 comments
Open

error from custom scripts are hard to spot #141

ydirson opened this issue May 22, 2024 · 2 comments

Comments

@ydirson
Copy link
Contributor

ydirson commented May 22, 2024

When an answerfile uses custom scripts, an error from the script is caught and appears in the log. Is there any reason not to make this an install failure, so the operator can get aware that something unexpected occurred?

@freddy77
Copy link
Collaborator

I suppose at least you get into a bootable state. Unless is the script that generates the answerfile. Changing the behaviour would be a regression but an additional option for each script to specify it must not fail could be added.

@ydirson
Copy link
Contributor Author

ydirson commented Jun 12, 2024

Some onerror=(continue|fail) attribute could do the job, I guess.

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

No branches or pull requests

2 participants