fpErrorNotifierPlugin icon indicating copy to clipboard operation
fpErrorNotifierPlugin copied to clipboard

Apparently Doctrine_Connection_Exception doesn't support getPrevious() method...

Open makasim opened this issue 14 years ago • 2 comments

makasim avatar Jun 15 '11 06:06 makasim

the solution could be:

if (is_callable(array($e, "getPrevious")))
{
    $count = 1; 
    while ($previous = $e->getPrevious())
    {
        $message->addSection("Previous Exception #{$count}", $this->notifier()->helper()->formatException($previous));

        $e = $previous;
        $count++;
    }
}

makasim avatar Jun 15 '11 06:06 makasim

This is already fixed https://github.com/66Ton99/fpErrorNotifierPlugin/blob/dev/lib/handler/fpErrorNotifierHandler.php#L101

66Ton99 avatar Jul 07 '11 11:07 66Ton99