forked from Limework/RediSkript
added debug check when error sending message
This commit is contained in:
parent
5692b5d9e4
commit
b0d29ea97d
@ -223,8 +223,10 @@ public class RedisController extends BinaryJedisPubSub implements Runnable {
|
|||||||
j.publish(channel.getBytes(StandardCharsets.UTF_8), message);
|
j.publish(channel.getBytes(StandardCharsets.UTF_8), message);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
System.out.println("Error sending redis message!");
|
System.out.println("Error sending redis message!");
|
||||||
|
if (debugMode) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user