Change how debug is handled
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
8d2f8e9266
commit
99a9ad8469
@ -94,7 +94,6 @@ def curl_content(url, params=None, ajax=False):
|
||||
except (RequestException, CloudflareException, CaptchaException) as e:
|
||||
output = ''
|
||||
http_code = 500
|
||||
if IS_DEBUG:
|
||||
getLogger().exception(e)
|
||||
|
||||
return {'http_code': http_code, 'output': output}
|
||||
|
Reference in New Issue
Block a user