We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4c088d commit 1034493Copy full SHA for 1034493
src/main/java/com/arpnetworking/tsdcore/sinks/HttpSinkActor.java
@@ -17,6 +17,7 @@
17
18
import akka.actor.AbstractActor;
19
import akka.actor.Props;
20
+import akka.actor.Status;
21
import akka.pattern.Patterns;
22
import com.arpnetworking.logback.annotations.LogValue;
23
import com.arpnetworking.metrics.incubator.PeriodicMetrics;
@@ -236,6 +237,13 @@ public Receive createReceive() {
236
237
_waiting = false;
238
dispatchPending();
239
})
240
+ .match(Status.Failure.class, message -> {
241
+ LOGGER.error()
242
+ .setMessage("Received Status.Failure message")
243
+ .addContext("actor", self())
244
+ .setThrowable(message.cause())
245
+ .log();
246
+ })
247
.matchAny(message -> {
248
LOGGER.error()
249
.setMessage("Unexpected message")
0 commit comments