Skip to content

Commit

Permalink
fixed wrong cause has been logged
Browse files Browse the repository at this point in the history
  • Loading branch information
Xin Zheng committed Dec 12, 2024
1 parent fe3b03a commit 9ae03c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/swisspush/redisques/RedisQues.java
Original file line number Diff line number Diff line change
Expand Up @@ -1208,7 +1208,7 @@ private Future<Void> notifyConsumer(final String queueName) {
log.warn("RedisQues consumer {} of queue {} does not exist.", consumer, queueName);
redisAPI.del(Collections.singletonList(key), result -> {
if (result.failed()) {
log.warn("Failed to removed consumer '{}'", key, exceptionFactory.newException(event.cause()));
log.warn("Failed to removed consumer '{}'", key, exceptionFactory.newException(result.cause()));
} else {
log.debug("{} consumer key removed", result.result().toLong());
}
Expand Down

0 comments on commit 9ae03c8

Please sign in to comment.