-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Improved logging and added comments #2763
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR Summary
This pull request enhances logging and adds comments to improve debugging of Confluence permission syncing, focusing on better error handling and code structure.
- Added helper functions in
backend/ee/danswer/external_permissions/confluence/doc_sync.py
to extract user emails, group names, and permissions - Improved handling of page-specific restrictions in Confluence document synchronization
- Enhanced error logging in
backend/ee/danswer/external_permissions/permission_sync.py
by usinglogger.exception()
for full stack traces - Restructured the permission syncing process in
doc_sync.py
for better clarity and maintainability - Modified existing functions in
doc_sync.py
to provide more detailed logging information
2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile
Description
This should help us troubleshoot any issues with confluence permission syncing and make the code easier to debug