Finalized images action and loop
This commit is contained in:
@@ -23,6 +23,14 @@
|
||||
|
||||
namespace Thelia\Exception;
|
||||
|
||||
use Thelia\Log\Tlog;
|
||||
|
||||
class ImageException extends \RuntimeException
|
||||
{
|
||||
public function __construct($message, $code = null, $previous = null) {
|
||||
|
||||
Tlog::getInstance()->addError($message);
|
||||
|
||||
parent::__construct($message, $code, $previous);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user