Debugging...

This commit is contained in:
Scott Idem
2023-01-30 16:48:41 -05:00
parent 01ba5d8d72
commit 40d8f14197

View File

@@ -204,6 +204,7 @@ def update_person_kiss(
log.debug(person_dict_up_result) log.debug(person_dict_up_result)
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
if contact_id and person_obj.contact: if contact_id and person_obj.contact:
log.info('Updating Contact object') log.info('Updating Contact object')
if contact_update_result := update_contact_obj( if contact_update_result := update_contact_obj(
@@ -224,6 +225,8 @@ def update_person_kiss(
else: return False else: return False
else: pass else: pass
log.setLevel(logging.DEBUG) # DEBUG, INFO, WARNING, ERROR, EXCEPTION, CRITICAL
log.debug(person_obj.user)
if user_id and person_obj.user: if user_id and person_obj.user:
log.info('Updating User object') log.info('Updating User object')
# Link to an existing user # Link to an existing user