mirror of
https://github.com/rembo10/headphones.git
synced 2026-04-14 00:49:28 +01:00
Add Problematic URL to Debug
This commit is contained in:
@@ -129,7 +129,7 @@ def request_response(url, method="get", auto_raise=True,
|
||||
import os
|
||||
exc_type, exc_obj, exc_tb = sys.exc_info()
|
||||
fname = os.path.split(exc_tb.tb_frame.f_code.co_filename)[1]
|
||||
logger.error('SUPER_DEBUG: ' + '; '.join([exc_type, fname, exc_tb.tb_lineno]))
|
||||
logger.error('SUPER_DEBUG: ' + str(url) + ' -- ' + '; '.join([exc_type, fname, exc_tb.tb_lineno]))
|
||||
|
||||
# Debug response
|
||||
if headphones.VERBOSE:
|
||||
|
||||
Reference in New Issue
Block a user