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