Skip to content

Commit 21d4bd8

Browse files
committed
Log potential issues
1 parent 3bf57e6 commit 21d4bd8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main.rs

+3
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ impl EventHandler for Handler {
108108
{
109109
Some(channel_id) => channel_id,
110110
None => {
111+
println!("Could not find user in VC.");
111112
continue;
112113
}
113114
};
@@ -133,6 +134,8 @@ impl EventHandler for Handler {
133134
handler.set_bitrate(songbird::Bitrate::Auto);
134135

135136
handler.play_source(source);
137+
} else {
138+
println!("Could not fetch guild by ID.");
136139
}
137140
}
138141

0 commit comments

Comments
 (0)