Skip to content

Commit

Permalink
chore: format/refactor log
Browse files Browse the repository at this point in the history
  • Loading branch information
bamthomas committed Dec 3, 2024
1 parent 5adb411 commit 5cfa312
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
package org.icij.datashare;

import com.rabbitmq.client.AMQP;
import org.icij.datashare.asynctasks.TaskWorkerLoop;
import org.icij.datashare.asynctasks.TaskSupplier;
import org.icij.datashare.asynctasks.bus.amqp.AmqpInterlocutor;
import org.icij.datashare.asynctasks.TaskWorkerLoop;
import org.icij.datashare.mode.CommonMode;
import org.icij.datashare.tasks.DatashareTaskFactory;
import org.icij.datashare.text.indexing.Indexer;
import org.redisson.api.RedissonClient;

import java.util.Properties;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
package org.icij.datashare.asynctasks;

import com.rabbitmq.client.AMQP;
import com.rabbitmq.client.ShutdownSignalException;
import org.icij.datashare.asynctasks.bus.amqp.AmqpChannel;
import org.icij.datashare.asynctasks.bus.amqp.CancelEvent;
import org.icij.datashare.asynctasks.bus.amqp.CancelledEvent;
import org.icij.datashare.asynctasks.bus.amqp.ShutdownEvent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public void handleDelivery(String consumerTag, Envelope envelope, AMQP.BasicProp
logger.warn("exception while deserializing json. Sending nack without requeue", jsonException);
rabbitMqChannel.basicNack(envelope.getDeliveryTag(), false, false);
} catch (NackException nackEx) {
logger.warn("exception while accepting event. Sending nack with requeue=" + nackEx.requeue, nackEx);
logger.warn("exception while accepting event. Sending nack with requeue={}", nackEx.requeue, nackEx);
rabbitMqChannel.basicNack(envelope.getDeliveryTag(), false, nackEx.requeue);
}
criteria.newEvent();
Expand Down

0 comments on commit 5cfa312

Please sign in to comment.