mirror of
https://github.com/JakeStanger/mpd-discord-rpc.git
synced 2026-07-12 04:15:30 +01:00
[PR #11] [MERGED] Error handling improvements #1654
Labels
No labels
bug
enhancement
help wanted
package
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
JakeStanger/mpd-discord-rpc#1654
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/JakeStanger/mpd-discord-rpc/pull/11
Author: @MonterraByte
Created: 10/18/2020
Status: ✅ Merged
Merged: 10/18/2020
Merged by: @JakeStanger
Base:
master← Head:master📝 Commits (3)
b981f2bWrite errors to stderr108a469Print errors that occur when connecting to the MPD servere5ad8b6Remove unnecessary unwrap📊 Changes
2 files changed (+11 additions, -8 deletions)
View changed files
📝
src/main.rs(+4 -4)📝
src/mpd_conn.rs(+7 -4)📄 Description
This changes
try_get_mpd_connto print connection errors instead of ignoring them. I also removed an unnecessary unwrap in theidlefunction and made all error messages be printed to stderr.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.