add comment and logging error

This commit is contained in:
Songtronix 2019-06-05 16:37:55 +02:00 committed by Songtronix
parent 1be8f5e422
commit 5ea624674d
2 changed files with 4 additions and 1 deletions

View File

@ -8,6 +8,9 @@ use std::thread::JoinHandle;
use crate::DEFAULT_PUBLIC_SERVER;
use chrono::Utc;
/// Connects to the discord application where Images and more resides
/// can be viewed at https://discordapp.com/developers/applications/583662036194689035/rich-presence/assets
/// but requires an invitation.
const DISCORD_APPLICATION_ID: i64 = 583662036194689035;
/// Represents an update of the game which should be reflected in Discord

View File

@ -134,7 +134,7 @@ fn main() {
Ok(disc) => {
//great
}
Err(e) => {}
Err(e) => { log::error!("Couldn't init discord: {}", e) }
}
}