From 2d4ac244031bdaccace508c0ca3a77df77e4c368 Mon Sep 17 00:00:00 2001 From: Cameron Diver Date: Wed, 18 Dec 2019 14:52:08 +0000 Subject: [PATCH] Report the correct error when we cannot remove a network Change-type: patch Signed-off-by: Cameron Diver --- src/compose/network.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compose/network.ts b/src/compose/network.ts index 90ebc42a..8b6e98f2 100644 --- a/src/compose/network.ts +++ b/src/compose/network.ts @@ -193,7 +193,7 @@ export class Network { .getNetwork(Network.generateDockerName(this.appId, this.name)) .remove(), ).tapCatch(error => { - this.logger.logSystemEvent(logTypes.createNetworkError, { + this.logger.logSystemEvent(logTypes.removeNetworkError, { network: { name: this.name, appId: this.appId }, error, });