Log ChannelUpdater error logging method

This commit is contained in:
Vankka 2022-04-04 20:50:05 +03:00
parent e3c6f21c01
commit a1baec7397
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0

View File

@ -107,7 +107,7 @@ public class ChannelUpdaterModule extends AbstractModule<DiscordSRV> {
manager.timeout(30, TimeUnit.SECONDS).queue(
null,
t -> discordSRV.logger().error("Failed to update channel " + channel, t)
t -> discordSRV.discordConnectionManager().handleRequestFailure("Failed to update channel " + channel, t)
);
} catch (Throwable t) {
discordSRV.logger().error("Failed to update channel " + channel, t);