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

Allow configuration for whether a job calls tech support upon failure #635

Open
alarthast opened this issue Oct 30, 2024 · 0 comments
Open

Comments

@alarthast
Copy link
Contributor

alarthast commented Oct 30, 2024

From this comment: #634 (review)

Currently the line to call tech support upon a job failure is already nested in an if statement.

if not self.job["is_im"]:
msg += "\nCalling tech-support."

It should be fairly straightforward to add a second condition to that if statement that is dependent on a boolean property captured in the job config.

@alarthast alarthast changed the title Allow configuration for whether a job calls tech suport upon failure Allow configuration for whether a job calls tech support upon failure Oct 30, 2024
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

1 participant