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

Fix/1849 Do Not Parse Ignored Empty Responses #1851

Merged

Conversation

TheOneTrueAnt
Copy link
Contributor

Description

Simple fix to remove the call to response.json() when logging the execution of an "ignore" response action, instead calls response.text. Included a test based off of the existing one for ignoring 404 errors.

Related Issues

Additional Context

Message lines were moved into a single line to meet with linter requirements.

Copy link

netlify bot commented Sep 20, 2024

Deploy Preview for dlt-hub-docs canceled.

Name Link
🔨 Latest commit 95fabd7
🔍 Latest deploy log https://app.netlify.com/sites/dlt-hub-docs/deploys/66eddc1614ff4d0007d7ed87

@burnash burnash self-assigned this Sep 20, 2024
@burnash burnash added the bug Something isn't working label Sep 20, 2024
@burnash
Copy link
Collaborator

burnash commented Sep 20, 2024

@TheOneTrueAnt thanks for the issue and for the fix.

@TheOneTrueAnt
Copy link
Contributor Author

I realised that I'd neglected to run the linter after writing the tests! Have tidied them up now!

Copy link
Collaborator

@burnash burnash left a comment

Choose a reason for hiding this comment

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

Looks great, thanks @TheOneTrueAnt again for the fix!

@burnash burnash merged commit dcb1f0e into dlt-hub:devel Sep 24, 2024
61 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Empty Response (e.g. HTTP 204) causes ignore response_actions to fail
3 participants