[wallhaven] update API error message

This commit is contained in:
Mike Fährmann
2023-06-18 20:00:34 +02:00
parent a673998b1e
commit 92d98697b2
2 changed files with 2 additions and 2 deletions

View File

@@ -260,7 +260,7 @@ class WallhavenAPI():
self.extractor.log.debug("Server response: %s", response.text) self.extractor.log.debug("Server response: %s", response.text)
raise exception.StopExtraction( raise exception.StopExtraction(
"API request failed (%s: %s)", "API request failed (%s %s)",
response.status_code, response.reason) response.status_code, response.reason)
def _pagination(self, endpoint, params=None, metadata=None): def _pagination(self, endpoint, params=None, metadata=None):

View File

@@ -6,4 +6,4 @@
# it under the terms of the GNU General Public License version 2 as # it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation. # published by the Free Software Foundation.
__version__ = "1.25.6" __version__ = "1.25.7-dev"