Skip to content

Commit e9d2d75

Browse files
sreichelfballiano
authored andcommitted
CSS merge logs exception if file is missing, but doesn't break (#2754)
1 parent 9828e85 commit e9d2d75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Core/Helper/Data.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ public function mergeFiles(
780780
foreach ($srcFiles as $file) {
781781
if (!file_exists($file)) {
782782
// no translation intentionally
783-
throw new Exception(sprintf('File %s not found.', $file));
783+
Mage::logException(new Exception(sprintf('File %s not found.', $file)));
784784
} elseif (@filemtime($file) > $targetMtime) {
785785
$shouldMerge = true;
786786
break;

0 commit comments

Comments
 (0)