DataSift\Storyplayer\Console\ScriptConsole::logCliErrorWithException PHP Method

logCliErrorWithException() public method

public logCliErrorWithException ( string $msg, Exception $e ) : void
$msg string
$e Exception
return void
    public function logCliErrorWithException($msg, $e)
    {
        echo "*** error: {$msg}" . PHP_EOL . PHP_EOL . "This was caused by an unexpected exception " . get_class($e) . PHP_EOL . PHP_EOL . $e->getTraceAsString();
    }