/**
* @param string $remote
* @param string $url
* @param string $errorMessage
*
* @throws InvalidPushException
*/
private function executeOriginalHook($remote, $url, $errorMessage)
{
$response = $this->prePushOriginalExecutor->execute($remote, $url);
if (null != $response) {
$this->output->writeln(BadJobLogoResponse::paint($errorMessage));
throw new InvalidPushException();
}
}