Skip to content

fix: replace unwrap() calls with proper error handling#299

Merged
Timi16 merged 1 commit intoTimi16:mainfrom
Mmesolove:fix/remove-unwraps
Feb 25, 2026
Merged

fix: replace unwrap() calls with proper error handling#299
Timi16 merged 1 commit intoTimi16:mainfrom
Mmesolove:fix/remove-unwraps

Conversation

@Mmesolove
Copy link
Contributor

@Mmesolove Mmesolove commented Feb 25, 2026

Closes #291


Closes #287


  • Replaced unwrap() on Mutex lock in debug_server.rs with proper error handling
  • Replaced expect() in executor.rs with Result propagation using ?
  • Improved Default impl for PluginRegistry with fallback error handling
  • Replaced unwrap() calls in snapshot.rs with defensive Option handling
  • All changes maintain backward compatibility and improve error resilience
  • Test code unwrap()/expect() calls intentionally left unchanged

- Replaced unwrap() on Mutex lock in debug_server.rs with proper error handling
- Replaced expect() in executor.rs with Result propagation using ?
- Improved Default impl for PluginRegistry with fallback error handling
- Replaced unwrap() calls in snapshot.rs with defensive Option handling
- All changes maintain backward compatibility and improve error resilience
- Test code unwrap()/expect() calls intentionally left unchanged
@Mmesolove
Copy link
Contributor Author

Pleas review

@Timi16 Timi16 merged commit bc247b1 into Timi16:main Feb 25, 2026
4 of 5 checks passed
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.

Add Cargo.toml Metadata and Prepare for crates.io Publish Replace All unwrap() Calls with Proper Error Handling

2 participants