]> BookStack Code Mirror - bookstack/blobdiff - app/Uploads/HttpFetcher.php
Fixed OIDC Logout
[bookstack] / app / Uploads / HttpFetcher.php
index 4198bb2a326dce7b3e28d6083a6dc6422daf86ee..fcb4147e9ee65e6b369d947cf706aeac2c438d99 100644 (file)
@@ -29,7 +29,8 @@ class HttpFetcher
         curl_close($ch);
 
         if ($err) {
-            throw new HttpFetchException($err);
+            $errno = curl_errno($ch);
+            throw new HttpFetchException($err, $errno);
         }
 
         return $data;