diff options
Diffstat (limited to 'juick-crosspost/src/main/java/com/juick')
-rw-r--r-- | juick-crosspost/src/main/java/com/juick/components/Crosspost.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/juick-crosspost/src/main/java/com/juick/components/Crosspost.java b/juick-crosspost/src/main/java/com/juick/components/Crosspost.java index d7c0ec14..d2736d85 100644 --- a/juick-crosspost/src/main/java/com/juick/components/Crosspost.java +++ b/juick-crosspost/src/main/java/com/juick/components/Crosspost.java @@ -67,8 +67,8 @@ public class Crosspost extends TextWebSocketHandler { MessagesService messagesService; public Crosspost(final Environment env, final CrosspostService crosspostService) { - Assert.notNull(env); - Assert.notNull(crosspostService); + Assert.notNull(env, "Environment must be initialized"); + Assert.notNull(crosspostService, "CrosspostService must be initialized"); this.crosspostService = crosspostService; |