log update failure
This commit is contained in:
parent
017ab09597
commit
fd5d1398f1
@ -43,6 +43,8 @@ class FinishUpdate extends Command
|
|||||||
// Check if file mirror was successful
|
// Check if file mirror was successful
|
||||||
$version = ($alias == 'core') ? version('short') : module($alias)->get('version');
|
$version = ($alias == 'core') ? version('short') : module($alias)->get('version');
|
||||||
if ($version != $new) {
|
if ($version != $new) {
|
||||||
|
logger($alias . ' update failed:: file version > ' . $version . ' -vs- ' . 'request version > ' . $new);
|
||||||
|
|
||||||
throw new \Exception(trans('modules.errors.finish', ['module' => $alias]));
|
throw new \Exception(trans('modules.errors.finish', ['module' => $alias]));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user