Commit 00fffd41 authored by David Maus's avatar David Maus
Browse files

Simplify error message

* src/HAB/Pica/Auth/AbstractHttpAuthentication.php (sendRequest):
  Simplify error message.
parent 0638eac0
......@@ -55,7 +55,7 @@ abstract class AbstractHttpAuthentication
$ctx = stream_context_create($ctxOptions);
$response = file_get_contents($url, false, $ctx);
if ($response === false) {
throw new RuntimeException("Error sending HTTP '{$method}' request to '{$url}'");
throw new RuntimeException("Error sending HTTP request");
}
$statuscode = null;
......
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