mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-12-31 18:07:56 +01:00
Extra error catch
This commit is contained in:
parent
fd249b4e03
commit
c3c5104dfa
@ -163,6 +163,9 @@ public abstract class AbstractGameMessageModule<T extends IMessageConfig, E exte
|
|||||||
discordSRV.logger().error("Failed to publish to event bus", t);
|
discordSRV.logger().error("Failed to publish to event bus", t);
|
||||||
return null;
|
return null;
|
||||||
});
|
});
|
||||||
|
}).exceptionally(t -> {
|
||||||
|
discordSRV.logger().error("Error in sending message", t);
|
||||||
|
return null;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user