Extra error catch

This commit is contained in:
Vankka 2022-04-13 14:07:25 +03:00
parent fd249b4e03
commit c3c5104dfa
No known key found for this signature in database
GPG Key ID: 6E50CB7A29B96AD0

View File

@ -163,6 +163,9 @@ public abstract class AbstractGameMessageModule<T extends IMessageConfig, E exte
discordSRV.logger().error("Failed to publish to event bus", t);
return null;
});
}).exceptionally(t -> {
discordSRV.logger().error("Error in sending message", t);
return null;
});
}