From bc4d5f1acb36f4066514eeb6853ce4571594b328 Mon Sep 17 00:00:00 2001
From: Jonas Leder <jonas@jonasled.de>
Date: Fri, 4 Feb 2022 08:20:55 +0100
Subject: [PATCH] add mor detailed error message to ebayimg

---
 public/API/ebayimg.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/public/API/ebayimg.php b/public/API/ebayimg.php
index 300ca34..600d0c1 100644
--- a/public/API/ebayimg.php
+++ b/public/API/ebayimg.php
@@ -18,5 +18,5 @@ if ($httpcode == 200) {
     header('Content-Type: ' . $contentType);
     echo ($content);
 } else {
-    die("Page not Found.");
+    die("Failed to fetch image, got " . $httpcode);
 }
-- 
GitLab