forked from lix-project/hydra
Fix uninitialized value warning
This commit is contained in:
parent
af2b0c8bad
commit
4dd1197d89
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue