Update YouTube Feed error logging

This commit is contained in:
2026-06-26 23:57:09 -05:00
parent c6ccbd5b6c
commit 45a8b010fc
2 changed files with 5 additions and 4 deletions

View File

@@ -99,7 +99,7 @@
<dependency>
<groupId>com.squareup.okio</groupId>
<artifactId>okio</artifactId>
<version>3.10.2</version>
<version>3.17.0</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
@@ -119,7 +119,7 @@
<dependency>
<groupId>net.dv8tion</groupId>
<artifactId>JDA</artifactId>
<version>5.6.1</version>
<version>6.4.1</version>
</dependency>
<dependency>
<groupId>com.github.cage</groupId>

View File

@@ -159,8 +159,9 @@ public class BiscuitGuild {
try {
log("Updating Youtube feeds...");
postYoutubeFeeds();
} catch (IOException e) {
e.printStackTrace();
} catch (Throwable t) {
error("There was a problem updating the YouTube Feeds.");
t.printStackTrace();
}
};
ScheduledExecutorService scheduler = Executors.newScheduledThreadPool(1);