diff --git a/src/script/hydra-evaluator b/src/script/hydra-evaluator index c84ca940..0fe15ccf 100755 --- a/src/script/hydra-evaluator +++ b/src/script/hydra-evaluator @@ -49,7 +49,7 @@ sub setJobsetError { $jobset->update({ errormsg => $errorMsg, errortime => time, fetcherrormsg => undef }); }); }; - if ($errorMsg ne $prevError) { + if (defined $errorMsg && $errorMsg ne ($prevError // "")) { sendJobsetErrorNotification($jobset, $errorMsg); } }