Make validation errors propagate back to the user

Seriously, how in the name of Eris did I miss this one?!
This commit is contained in:
Chris 2019-09-25 21:50:45 +01:00
parent 8663bc3764
commit 76c712737a

View File

@ -507,7 +507,7 @@ sub _validate_recipe {
$errors .= $self -> {"template"} -> load_template("error/error_item.tem", { "%(error)s" => $error })
if($error);
return ($args, undef);
return ($args, $errors);
}