diff options
Diffstat (limited to 'gallery_dl/extractor/oauth.py')
| -rw-r--r-- | gallery_dl/extractor/oauth.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gallery_dl/extractor/oauth.py b/gallery_dl/extractor/oauth.py index 6c6dd0a..912447b 100644 --- a/gallery_dl/extractor/oauth.py +++ b/gallery_dl/extractor/oauth.py @@ -296,8 +296,8 @@ class OAuthMastodon(OAuthBase): data = self.session.post(url, data=data).json() if "client_id" not in data or "client_secret" not in data: - self.log.error("Failed to register new application: '%s'", data) - raise exception.StopExtraction() + raise exception.StopExtraction( + "Failed to register new application: '%s'", data) data["client-id"] = data.pop("client_id") data["client-secret"] = data.pop("client_secret") |
