Changeset View
Changeset View
Standalone View
Standalone View
src/applications/auth/sshkey/PhabricatorAuthSSHPrivateKey.php
Context not available. | |||||
$reason = 'unknown'; | $reason = 'unknown'; | ||||
foreach ($patterns as $pattern => $pattern_reason) { | foreach ($patterns as $pattern => $pattern_reason) { | ||||
$ok = preg_match($pattern, $stderr); | $ok = @preg_match($pattern, $stderr); | ||||
if ($ok === false) { | if ($ok === false) { | ||||
throw new Exception( | throw new Exception( | ||||
Context not available. |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0