[GH-ISSUE #20] Better error handling #1077

Closed
opened 2026-05-23 01:58:14 +01:00 by JakeStanger · 1 comment
Owner

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

Following on from the more flexible config changes in #19, I'd like to see some nicer error handling. Most unwraps should be replaced with either an expect to print a slightly more sensible message, or friendly console output and a clean exit so it's clear what's wrong with the config.

Originally created by @JakeStanger on GitHub (Feb 23, 2022). Original GitHub issue: https://github.com/JakeStanger/mpd-discord-rpc/issues/20 Following on from the more flexible config changes in #19, I'd like to see some nicer error handling. Most `unwraps` should be replaced with either an `expect` to print a slightly more sensible message, or friendly console output and a clean exit so it's clear what's wrong with the config.
JakeStanger 2026-05-23 01:58:14 +01:00
Author
Owner

@JakeStanger commented on GitHub (Feb 26, 2022):

Resolved by github.com/JakeStanger/mpd-discord-rpc@7b8032dd17

<!-- gh-comment-id:1052133040 --> @JakeStanger commented on GitHub (Feb 26, 2022): Resolved by https://github.com/JakeStanger/mpd-discord-rpc/commit/7b8032dd17df0edd179089d3b16337eb90ec7568
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#1077
No description provided.