Commit 66c197ad authored by Ewen Cheslack-Postava's avatar Ewen Cheslack-Postava
Browse files

Fix mixup in order of log arguments that causes a stacktrace to be omitted.

parent 1efe6ca8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -156,7 +156,7 @@ public class BulkProcessor implements Runnable {

      client.execute(batch, callback);
    } catch (Throwable t) {
      log.warn("Failed to execute bulk request {}.", t, executionId);
      log.warn("Failed to execute bulk request {}.", executionId, t);
      try {
        listener.afterBulk(executionId, batch, t);
      } catch (Throwable tt) {