Skip to content

fix(exchanges): replace unwrap_or_default with proper error handling - #28

Merged
Praying merged 3 commits into
mainfrom
001-error-handling
Jan 5, 2026
Merged

Praying merged 3 commits into
mainfrom
001-error-handling

Conversation

@Praying

@Praying Praying commented Jan 5, 2026

Copy link
Copy Markdown
Owner
  • Replace all .unwrap_or_default() in critical data parsing paths with proper error handling using map_err() and Result types
  • Fixes: OKX, Bitget, Bybit, Binance OHLCV/JSON parsing errors
  • Adds context to error messages (exchange, operation, field names)
  • Tests: 732 passed, baseline maintained

Praying and others added 3 commits January 5, 2026 17:49
  - Replace all .unwrap_or_default() in critical data parsing paths with
    proper error handling using map_err() and Result types
  - Fixes: OKX, Bitget, Bybit, Binance OHLCV/JSON parsing errors
  - Adds context to error messages (exchange, operation, field names)
  - Tests: 732 passed, baseline maintained
@Praying
Praying merged commit 6c188f3 into main Jan 5, 2026
9 checks passed
@Praying
Praying deleted the 001-error-handling branch January 5, 2026 13:55
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.

1 participant