Skip to content

fix: remove false success log & improve retry log#111

Merged
ds-filipknefel merged 4 commits intomainfrom
improve-retry-logging
Jun 10, 2024
Merged

fix: remove false success log & improve retry log#111
ds-filipknefel merged 4 commits intomainfrom
improve-retry-logging

Conversation

@ds-filipknefel
Copy link
Copy Markdown
Contributor

In the PR introducing more logging two things turned out lacking:

  • there was a false success log in split-page after error hook
  • the retry logs were only for 5XX responses where speakeasy also has retry set for ConnectionError exceptions

This PR removes the faulty success log, moves success/failure logs to the LoggerHook and introduces logging for ConnectionError retries.

Copy link
Copy Markdown
Contributor

@mpolomdeepsense mpolomdeepsense left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ds-filipknefel ds-filipknefel enabled auto-merge (squash) June 10, 2024 13:26
@ds-filipknefel ds-filipknefel merged commit 1d15529 into main Jun 10, 2024
@ds-filipknefel ds-filipknefel deleted the improve-retry-logging branch June 10, 2024 13:39
christinestraub added a commit to Unstructured-IO/unstructured-js-client that referenced this pull request Jun 14, 2024
This PR is a clone of
Unstructured-IO/unstructured-python-client#111

### Summary
- remove false success log in split-page after error hook
- moves success/failure logs to the LoggerHook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants