added debug check when error sending message
This commit is contained in:
parent
b16ad58d16
commit
0783fd64d0
@ -223,7 +223,9 @@ public class RedisController extends BinaryJedisPubSub implements Runnable {
|
||||
j.publish(channel.getBytes(StandardCharsets.UTF_8), message);
|
||||
} catch (Exception e) {
|
||||
System.out.println("Error sending redis message!");
|
||||
e.printStackTrace();
|
||||
if (debugMode) {
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user