fix(sdk-python): log wrap record failures instead of raising#53
Conversation
When the wrapped callable returns normally but outbox recording fails, return the result and log the infrastructure error. Signed-off-by: Nathan Gillett <nathan@intentproof.io>
PR SummaryMedium Risk Overview When the wrapped callable raises, behavior is preserved: recording failures are still chained as the Reviewed by Cursor Bugbot for commit 1a467e4. Bugbot is set up for automated code reviews on this repo. Configure here. |
Summary
wrap()completes successfully but outbox recording fails, returnthe callable result and log
[intentproof] execution record failed.failures are still chained via
raise ... from record_exc.Test plan
pytest -q(91 tests, 100% coverage on touched modules)