protected function getExceptionTrace(array $context)
    {
        if (array_key_exists('exception', $context)) {
            if ($context['exception'] instanceof \Exception) {
                $strException = $context['exception']->getTraceAsString();

                return $strException;
            }
        }

        return '';
    }