[GH-ISSUE #13] Can crash if MPD connection lost mid-fetch #807

Closed
opened 2026-05-23 00:58:08 +01:00 by JakeStanger · 0 comments
Owner

Originally created by @JakeStanger on GitHub (Feb 2, 2021).
Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/13

thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/jake/.cargo/registry/src/github.com-1ecc6299db9ec823/mpd-discord-rpc-1.2.0/src/mpd_conn.rs:41:76
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Which is inside the get_token_value function.

Originally created by @JakeStanger on GitHub (Feb 2, 2021). Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/13 ``` thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', /home/jake/.cargo/registry/src/github.com-1ecc6299db9ec823/mpd-discord-rpc-1.2.0/src/mpd_conn.rs:41:76 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace ``` Which is inside the `get_token_value` function.
JakeStanger 2026-05-23 00:58:08 +01:00
  • closed this issue
  • added the
    bug
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
JakeStanger/mpd-discord-rpc#807
No description provided.