if (!$ok) {
my $error = $EVAL_ERROR;
- debug("Exception during execution: ${error}");
+ $::lxdebug->message(LXDebug::WARN(), "Exception during execution: ${error}");
notify_on_failure(exception => $error);
}
if (!$ok) {
my $error = $EVAL_ERROR;
- debug("Exception during execution: ${error}");
+ $::lxdebug->message(LXDebug::WARN(), "Exception during execution: ${error}");
notify_on_failure(exception => $error);
}