fix: raised the recursion limit in debug to 500
This commit is contained in:
@@ -52,6 +52,12 @@ def trace(msg: str):
|
||||
|
||||
output("trace: " + msg, BColors.OKBLUE)
|
||||
|
||||
def object_trace(obj):
|
||||
if not DEBUG_TRACE:
|
||||
return
|
||||
|
||||
output("object: " + str(obj), BColors.GREY)
|
||||
|
||||
|
||||
"""
|
||||
misc functions
|
||||
|
@@ -15,6 +15,7 @@ __stage__ = os.getenv("STAGE", "prod")
|
||||
DEBUG = (__stage__ == "dev") and True
|
||||
DEBUG_LOGGING = DEBUG and False
|
||||
DEBUG_TRACE = DEBUG and True
|
||||
DEBUG_OBJECT_TRACE = DEBUG and False
|
||||
DEBUG_YOUTUBE_INITIALIZING = DEBUG and False
|
||||
DEBUG_PAGES = DEBUG and False
|
||||
DEBUG_DUMP = DEBUG and True
|
||||
|
Reference in New Issue
Block a user