- Add logger call on theme install failure
- Add todo in Module\Admin\DBSync
return true;
} catch (\Exception $e) {
+ Logger::error('Theme installation failed', ['theme' => $theme, 'error' => $e->getMessage()]);
return false;
}
}
\r
if ($a->argc > 2) {\r
if ($a->argv[2] === 'check') {\r
+ // @TODO Seems like a similar logic like Update::check()\r
$retval = DBStructure::update($a->getBasePath(), false, true);\r
if ($retval === '') {\r
$o .= L10n::t("Database structure update %s was successfully applied.", DB_UPDATE_VERSION) . "<br />";\r