-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.4.7
-
Sprint 82 (Nov 2021), Sprint 83 (Dec 2021)
-
0.5
If I create a script with the scope "Action operation" (no MediaType Webhook), the script will be executed correctly when the action is triggered, but will be shown as incorrectly executed in the event/probems view.
Error message:
cannot execute script: (null)
The attempts with "return 'OK';" or the omission of "return;" were also unsuccessful.
Code:
try {
// do something
return true;
} catch (error) {
Zabbix.Log(4, '[Webhook] Failed: '+error);
throw error;
}