return error msg of extension mgr

This commit is contained in:
Uwe Steinmann 2021-11-08 09:01:37 +01:00
parent b7b92bcc57
commit 99cc8b5b5d

View File

@ -68,7 +68,7 @@ elseif ($action == "refresh") { /* {{{ */
$extMgr->createExtensionConf();
$controller->setParam('extmgr', $extMgr);
if (!$controller($_POST)) {
UI::exitError(getMLText("admin_tools"),getMLText("error_occured"));
UI::exitError(getMLText("admin_tools"),$extMgr->getErrorMsg());
}
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_extension_refresh')));
add_log_line();