Skip to content

fix: replace panic-prone unwrap/expect calls with contextual error ha…#692

Open
ReinaMaze wants to merge 1 commit into
kellymusk:masterfrom
ReinaMaze:fix/remove-panic-prone-test-calls
Open

fix: replace panic-prone unwrap/expect calls with contextual error ha…#692
ReinaMaze wants to merge 1 commit into
kellymusk:masterfrom
ReinaMaze:fix/remove-panic-prone-test-calls

Conversation

@ReinaMaze

Copy link
Copy Markdown

close #581
close #585
close #590
close #610

…ndling

- mint_authorization_unit_tests.rs: 19 panic-prone calls → descriptive expect messages
- stellar_ecosystem_integration.rs: 25 panic-prone calls → typed error propagation
- signature_verification_test.rs: 22 panic-prone calls → contextual error messages
- flutterwave_tests.rs: 14 panic-prone calls → test-specific expect messages

All avoidable panics replaced with informative context. Unrecoverable invariants
documented with clear error messages explaining the failure condition.
Preserves observability while eliminating silent panic points.
@drips-wave

drips-wave Bot commented Jun 29, 2026

Copy link
Copy Markdown

@ReinaMaze Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment