Improved logging in collaborator module
Summary
Enhance error handling in Collaborator module.
Type of Change (Mandatory)
Specify the type of change being made.
- Feature enhancement
Description (Mandatory)
Enhance error handling in Collaborator module. Added try-except blocks to manage exceptions during the execution of collaborator rounds and while starting the collaborator service. Critical errors are now logged, and appropriate messages are displayed to the user, ensuring smoother operation and clearer feedback in case of failures.
Testing
Local Testing
Run once PQ as well. It has ellaborated set of tests.
Please hold off on merging this until #1575 is merged, as that PR introduces significant changes to the collaborator code. Merging this now will likely cause substantial merge conflicts and may require an overwrite.
Additionally, do we know if this PR addresses the silent crashes, or at a minimum, provides relevant evidence?
Sure Karan, will wait for the other PR to merge, I have seen the benefit of this which helped me to debug the mnist pipeline failure which was happening due to my change. Anyways I will share again the screenshot after updated PR to show the usability of it.
@teoparvanov @MasterSkepticista in the meantime, I will appreciate if you have other feedback about the changes, which I can take care of.