Fixed the fix :)
parent
b2efb95f33
commit
2f82ed7035
|
@ -121,10 +121,7 @@ class Svn
|
||||||
}
|
}
|
||||||
|
|
||||||
$errorOutput = $this->process->getErrorOutput();
|
$errorOutput = $this->process->getErrorOutput();
|
||||||
if (empty($output)) {
|
$fullOutput = join("\n", array($output, $errorOutput));
|
||||||
$output = $errorOutput;
|
|
||||||
}
|
|
||||||
$fullOutput = "$output\n$errorOutput";
|
|
||||||
|
|
||||||
// the error is not auth-related
|
// the error is not auth-related
|
||||||
if (false === stripos($fullOutput, 'Could not authenticate to server:')
|
if (false === stripos($fullOutput, 'Could not authenticate to server:')
|
||||||
|
@ -145,7 +142,7 @@ class Svn
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new \RuntimeException(
|
throw new \RuntimeException(
|
||||||
'wrong credentials provided ('.$output.')'
|
'wrong credentials provided ('.$fullOutput.')'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue