public function render() { if (sfConfig::get('sf_debug')) { $this->text('[EXCEPTION] ' . $this->exception->getMessage())->param('dm_debug', 1)->title('Click me to see the exception details'); } return parent::render(); }