catch (\Throwable
$e) { throw new ThemeCompileException( $themeConfig->
getName() ?? '',
'Error while trying to concatenate Styles: ' .
$e->
getMessage(),
$e );
} $compiled =
$this->
compileStyles( $concatenatedStyles,
$themeConfig,
$styleFiles->
getResolveMappings(),
$salesChannelId,
$themeId,
$context );
try { $concatenatedScripts =
$this->
getConcatenatedScripts($resolvedFiles[ThemeFileResolver::SCRIPT_FILES
],
$themeConfig,
$salesChannelId);
} catch (\Throwable
$e) { throw new ThemeCompileException( $themeConfig->
getName() ?? '',
'Error while trying to concatenate Scripts: ' .
$e->
getMessage(),