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

View File

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