Update YouTube Feed error logging
This commit is contained in:
4
pom.xml
4
pom.xml
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user