add mor detailed error message to ebayimg
This commit is contained in:
parent
1e8ed63c24
commit
bc4d5f1acb
1 changed files with 1 additions and 1 deletions
|
@ -18,5 +18,5 @@ if ($httpcode == 200) {
|
||||||
header('Content-Type: ' . $contentType);
|
header('Content-Type: ' . $contentType);
|
||||||
echo ($content);
|
echo ($content);
|
||||||
} else {
|
} else {
|
||||||
die("Page not Found.");
|
die("Failed to fetch image, got " . $httpcode);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue