Skip to content

Conversation

markphelps
Copy link
Contributor

Summary

Enhanced error logging in the FFI HTTP middleware to capture the complete error chain instead of just the immediate source.

Changes

  • Iterates through the entire error chain using source() recursively
  • Uses Debug format for error sources to capture more detailed information
  • Formats output to show the main error followed by the complete chain of causes

This makes debugging HTTP errors easier by providing full context of nested error scenarios.

@markphelps markphelps requested a review from a team as a code owner August 8, 2025 00:43
@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. bug Something isn't working labels Aug 8, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 8, 2025
@markphelps markphelps merged commit 653cba3 into main Aug 8, 2025
35 checks passed
@markphelps markphelps deleted the ffi-engine-logging-improvement branch August 8, 2025 11:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants