1
0
Fork 0

Fixed the fix :)

pull/3967/head
Anael Ollier 2015-04-28 11:19:29 +02:00
parent b2efb95f33
commit 2f82ed7035
1 changed files with 2 additions and 5 deletions

View File

@ -121,10 +121,7 @@ class Svn
}
$errorOutput = $this->process->getErrorOutput();
if (empty($output)) {
$output = $errorOutput;
}
$fullOutput = "$output\n$errorOutput";
$fullOutput = join("\n", array($output, $errorOutput));
// the error is not auth-related
if (false === stripos($fullOutput, 'Could not authenticate to server:')
@ -145,7 +142,7 @@ class Svn
}
throw new \RuntimeException(
'wrong credentials provided ('.$output.')'
'wrong credentials provided ('.$fullOutput.')'
);
}