Commit 5ac16a34 authored by Nigel McNie's avatar Nigel McNie
Browse files

Don't ignore exceptions without error code 704/404 when bootstrapping peers....

Don't ignore exceptions without error code 704/404 when bootstrapping peers. Thanks to Dan Poltawski
parent c3c5787b
......@@ -240,6 +240,9 @@ class Peer {
} elseif($errcode == 704) {
throw new RemoteServerException('Networking is disabled on the host at '.$this->wwwroot.'.');
}
else {
throw new RemoteServerException('Error retrieving public key, failed with error code: '. $errcode);
}
} catch (Exception $e) {
throw new RemoteServerException('Error retrieving public key ');
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment