Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Improve how a TurboVisitResponse is logged #283

Merged
merged 1 commit into from
Aug 29, 2023
Merged

Conversation

jayohms
Copy link
Collaborator

@jayohms jayohms commented Aug 29, 2023

Addresses #264 by truncating the middle of the html response so it's still clear what type of response was received and adding the response length.

The log output now looks like:

TurboVisitResponse(statusCode=200, responseHTML=<!DOCTYPE html><html lang [...] r> </main> </body></html>, responseLength=3036)

@jayohms jayohms merged commit d3f0798 into main Aug 29, 2023
@jayohms jayohms deleted the visit-response-log branch August 29, 2023 20:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant