Skip to content

Commit 562a69d

Browse files
committed
Clarify Docker network monitor logging
1 parent 1e4df26 commit 562a69d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/interceptors/docker/docker-tunnel-proxy.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,11 @@ export async function updateDockerTunnelledNetworks(
116116
proxyPort: number,
117117
interceptedNetworks: string[]
118118
) {
119-
console.log(`Updating intercepted Docker networks to: ${interceptedNetworks.join(', ')}`);
119+
if (interceptedNetworks.length) {
120+
console.log(`Updating intercepted Docker networks to: ${interceptedNetworks.join(', ')}`);
121+
} else {
122+
console.log('No Docker networks contain intercepted containers');
123+
}
120124

121125
const docker = new Docker();
122126

0 commit comments

Comments
 (0)