Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion core/src/main/java/com/uber/m3/tally/ScopeImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import javax.annotation.Nullable;
import java.util.Collection;
import java.util.Map;
import java.util.Optional;
Comment thread
adamjeanlaurent marked this conversation as resolved.
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.CopyOnWriteArrayList;
import java.util.concurrent.ScheduledExecutorService;
Expand Down
3 changes: 3 additions & 0 deletions m3/src/main/java/com/uber/m3/tally/m3/thrift/TUdpClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import java.io.IOException;
import java.net.DatagramPacket;
import java.net.DatagramSocket;
import java.net.PortUnreachableException;
import java.net.SocketAddress;
import java.net.SocketException;

Expand Down Expand Up @@ -68,6 +69,8 @@ public void flush() throws TTransportException {
// directly
new DatagramPacket(writeBuffer.array(), writeBuffer.position())
);
} catch (PortUnreachableException e) {
logger.warn("UDP port unreachable during flush");
} catch (IOException e) {
throw new TTransportException(e);
} finally {
Expand Down
Loading