diff --git a/src/prep.py b/src/prep.py index 75be11573..c9ce35100 100644 --- a/src/prep.py +++ b/src/prep.py @@ -2881,6 +2881,8 @@ def exponential_backoff(retry_count, initial_timeout): } response = requests.post(url, data=data, timeout=timeout) response = response.json() + if meta.get('debug'): + console.print('imgbb API response', response) img_url = response['data'].get('medium', response['data']['image'])['url'] raw_url = response['data']['image']['url'] web_url = response['data']['url_viewer']