/** * prints exception infos n2n was executed on the console. * @param Exception $t */ private function renderExceptionConsoleInfo(\Throwable $t) { if (!N2N::isLiveStageOn()) { echo PHP_EOL . $this->createDetailLogMessage($t); return; } print "error occurred"; }