From 91687140018218e67a9320f7a2bf9a58c2dc40ab Mon Sep 17 00:00:00 2001 From: Artyom Sayadyan Date: Tue, 7 Nov 2023 11:29:25 +0300 Subject: [PATCH] Exception handle --- node-it/src/test/scala/com/wavesplatform/it/Docker.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-it/src/test/scala/com/wavesplatform/it/Docker.scala b/node-it/src/test/scala/com/wavesplatform/it/Docker.scala index 0522195207..56637d181f 100644 --- a/node-it/src/test/scala/com/wavesplatform/it/Docker.scala +++ b/node-it/src/test/scala/com/wavesplatform/it/Docker.scala @@ -263,7 +263,7 @@ class Docker( val exposedPorts = new java.util.HashSet[String]() exposedPorts.add(s"$internalDebuggerPort") - if (nodeConfig.getStringList("waves.extensions").contains("com.wavesplatform.events.BlockchainUpdates")) { + if (Try(nodeConfig.getStringList("waves.extensions").contains("com.wavesplatform.events.BlockchainUpdates")).getOrElse(false)) { exposedPorts.add("6881") }