add mor detailed error message to ebayimg

This commit is contained in:
Jonas Leder 2022-02-04 08:20:55 +01:00
parent 1e8ed63c24
commit bc4d5f1acb
No known key found for this signature in database
GPG key ID: CC3C488E27DFF5CA

View file

@ -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);
} }