Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding extra logging info #525

Merged
merged 1 commit into from
Nov 8, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tr_sys/tr_ars/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1199,11 +1199,11 @@ def merge_received(parent_pk,message_to_merge, agent_name, counter=0):
return new_merged_message
except Exception as e:
logging.exception("problem with merging for %s :" % agent_name)
raise e
#If anything goes wrong, we at least need to unlock the semaphore
#TODO make some actual proper Exception handling here.
parent.merge_semaphore=False
parent.save()
logging.info("return empty dict for merged results")
return {}
else:
#If there is currently a merge happening, we wait until it finishes to do our merge
Expand Down