Skip to content

Commit

Permalink
Merge pull request #28 from muzik-apps/discord-rpc-patch
Browse files Browse the repository at this point in the history
Fix error handling in DiscordRpc
  • Loading branch information
waveyboym authored Feb 3, 2024
2 parents 14ca72a + 9a9de9f commit ca1806c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion muzik-offline/src-tauri/src/socials/discord_rpc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ impl DiscordRpc {
Ok(())
}
else{
Err(Box::new(std::io::Error::new(std::io::ErrorKind::Other, "not connected to discord rpc")))
Ok(())
}
}
}
Expand Down

0 comments on commit ca1806c

Please sign in to comment.