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

No proper check if Slack/Teams template files exist before they are used #427

Closed
mountaindude opened this issue May 4, 2022 · 0 comments · Fixed by #421
Closed

No proper check if Slack/Teams template files exist before they are used #427

mountaindude opened this issue May 4, 2022 · 0 comments · Fixed by #421
Labels
Milestone

Comments

@mountaindude
Copy link
Collaborator

mountaindude commented May 4, 2022

What version of Butler are you using?

7.3.2

What version of Node.js are you using? Not applicable if you use the standalone version of Butler.

No response

What command did you use to start Butler?

butler.exe --loglevel info

What operating system are you using?

Windows Server

What CPU architecture are you using?

x86_64

What Qlik Sense versions are you using?

2021-Nov

Describe the Bug

If an incorrect path is set in the config setting Butler.slackNotification.reloadTaskFailure.templateFile (and similar settings for aborted tasks, and Teams alerts) you get this error

error: SLACKNOTIF: TypeError: Cannot read properties of undefined (reading 'statusText')

Suggestion: Check if the template file exist, show error if it doesn't.

Expected Behavior

No response

To Reproduce

No response

@mountaindude mountaindude added this to the 7.4.0 milestone May 4, 2022
@mountaindude mountaindude changed the title No proper check if Slack/Teams/email template files exist before they are used No proper check if Slack/Teams template files exist before they are used May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
1 participant