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

[Onedrive] Add logs #2553

Closed
wants to merge 6 commits into from
Closed

[Onedrive] Add logs #2553

wants to merge 6 commits into from

Conversation

moxarth-rathod
Copy link
Contributor

Part Of #2299

Adding more logs in Onedrive connector.

Log file: https://drive.google.com/file/d/11iuroEd_fLAaTmErVPnbUBu7whZUYH-5/view?usp=drive_link

Checklists

Pre-Review Checklist

  • this PR does NOT contain credentials of any kind, such as API keys or username/passwords (double check config.yml.example)
  • this PR has a meaningful title
  • this PR links to all relevant github issues that it fixes or partially addresses
  • if there is no GH issue, please create it. Each PR should have a link to an issue
  • this PR has a thorough description
  • Tested the changes locally
  • Added a label for each target release version (example: v7.13.2, v7.14.0, v8.0.0)

@moxarth-rathod moxarth-rathod requested a review from a team May 14, 2024 10:13
@moxarth-rathod moxarth-rathod changed the title Add logging for Onedrive [Onedrive] Add logs May 14, 2024
@@ -278,6 +280,7 @@ async def get(self, url, header=None):
async with self.session.get(url=url, headers=headers) as response:
yield response
except ServerConnectionError:
self._logger.exception(f"Getting ServerConnectionError for url: {url}")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually no need for this as this line raises

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants