Added log when offline update fails
This commit is contained in:
parent
1cef8aa62f
commit
62c915d6df
|
@ -404,6 +404,13 @@ if ($search_minor) {
|
|||
$return['have_minor'] = true;
|
||||
$size_mr = get_number_of_mr($package, $ent, $offline);
|
||||
$return['mr'] = $size_mr;
|
||||
} else {
|
||||
$product_name = io_safe_output(get_product_name());
|
||||
$version = get_parameter('version', '');
|
||||
db_pandora_audit(
|
||||
'ERROR: Update '.$product_name,
|
||||
'Update version of '.$product_name.' by '.$config['id_user'].' has failed.'
|
||||
);
|
||||
}
|
||||
|
||||
echo json_encode($return);
|
||||
|
|
Loading…
Reference in New Issue