Skip to content

Commit

Permalink
Added log messages for HTML convertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ausi committed Nov 13, 2014
1 parent a23e5a8 commit 4706cb3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/MadeYourDay/Contao/CustomElementsConvert.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,12 @@ public function run()

}

foreach ($failedElements as $element) {
$this->log('Failed to convert ' . $element[0] . ' element ID ' . $element[1] . ' (' . $element[2] . ') to a standard HTML element', __METHOD__, TL_ERROR);
}

$this->log('Converted ' . $elementsCount . ' RockSolid Custom Elements to standard HTML elements', __METHOD__, TL_GENERAL);

$objTemplate->elementsCount = $elementsCount;
$objTemplate->failedElements = $failedElements;

Expand Down

0 comments on commit 4706cb3

Please sign in to comment.