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

Agregando log de errores a superset #34

Merged
merged 4 commits into from
Feb 25, 2025
Merged

Agregando log de errores a superset #34

merged 4 commits into from
Feb 25, 2025

Conversation

germankay
Copy link
Collaborator

@germankay germankay commented Jan 20, 2025

Related unckan/ckan-env#37 (comment)

fixes #37

Una vez mezclado el PR de Test #27 Agregamos test para esta funcion

@germankay germankay requested a review from avdata99 January 20, 2025 13:48
@germankay germankay self-assigned this Jan 20, 2025
Copy link
Contributor

@avdata99 avdata99 left a comment

Choose a reason for hiding this comment

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

@germankay I've made some changes
Please, testin locally and if it work, we are ready to merge

@germankay
Copy link
Collaborator Author

@avdata99 I made changes because it was failing in the local environment.

Comment on lines +226 to +228
# Si la respuesta es una redirección (302), la consideramos válida para el login
if response.status_code == 302:
return response, None
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# Si la respuesta es una redirección (302), la consideramos válida para el login
if response.status_code == 302:
return response, None

This is probably non required
raise_for_status should not raise for 302
Is required to not follow the redirection?
If not required, delete it

Copy link
Contributor

@avdata99 avdata99 left a comment

Choose a reason for hiding this comment

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

Delete the proposed lines or leave them if they are really required
After that, merge

@germankay germankay merged commit f12b209 into main Feb 25, 2025
1 check passed
@germankay germankay deleted the 37-error-en-dev branch February 25, 2025 13:46
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.

bug
2 participants