(fix) make print_verbose non blocking

This commit is contained in:
ishaan-jaff 2023-12-07 17:31:12 -08:00
parent 2da50087b0
commit 762f28e4d7
7 changed files with 37 additions and 16 deletions

View file

@ -199,9 +199,12 @@ celery_app_conn = None
celery_fn = None # Redis Queue for handling requests
#### HELPER FUNCTIONS ####
def print_verbose(print_statement):
global user_debug
if user_debug:
print(print_statement)
try:
global user_debug
if user_debug:
print(print_statement)
except:
pass
def usage_telemetry(
feature: str,