Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
...@@ -55,7 +55,7 @@ abstract class AbstractHttpAuthentication ...@@ -55,7 +55,7 @@ abstract class AbstractHttpAuthentication
$ctx = stream_context_create($ctxOptions); $ctx = stream_context_create($ctxOptions);
$response = file_get_contents($url, false, $ctx); $response = file_get_contents($url, false, $ctx);
if ($response === false) { if ($response === false) {
throw new RuntimeException("Error sending HTTP '{$method}' request to '{$url}'"); throw new RuntimeException("Error sending HTTP request");
} }
$statuscode = null; $statuscode = null;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment