Skip to content

Allow variables in ignore_error #2266

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

Open
skuroyama-AoPS opened this issue May 23, 2025 · 1 comment
Open

Allow variables in ignore_error #2266

skuroyama-AoPS opened this issue May 23, 2025 · 1 comment
Labels
state: needs triage Waiting to be triaged by a maintainer.

Comments

@skuroyama-AoPS
Copy link

Description

Hello! I'd like to ignore errors on a watch-like process. Whether a process is watch-like is determined by a variable passed in, .WATCH. However, ignore_error only takes a boolean. Is it possible to have that field be able to evaluate variables?

Image
@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label May 23, 2025
@trulede
Copy link
Contributor

trulede commented May 24, 2025

@skuroyama-AoPS you could try this method/workaround:

some_cmd || true

...which can then be adapted with templates (e.g. appending the '|| true' part) to be evaluated as you wish.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
state: needs triage Waiting to be triaged by a maintainer.
Projects
None yet
Development

No branches or pull requests

3 participants