From 163dd0580e6b586cb084549c8656499b73d928ca Mon Sep 17 00:00:00 2001 From: "rick.parker" Date: Thu, 20 Apr 2023 16:37:27 +0100 Subject: [PATCH] Fix detekt warning --- .../cliutils/src/main/kotlin/net/corda/cliutils/AttachAegis4j.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/cliutils/src/main/kotlin/net/corda/cliutils/AttachAegis4j.kt b/tools/cliutils/src/main/kotlin/net/corda/cliutils/AttachAegis4j.kt index 08e45d0edb..81c32b369c 100644 --- a/tools/cliutils/src/main/kotlin/net/corda/cliutils/AttachAegis4j.kt +++ b/tools/cliutils/src/main/kotlin/net/corda/cliutils/AttachAegis4j.kt @@ -9,6 +9,7 @@ import java.util.jar.JarEntry import java.util.jar.JarOutputStream import java.util.jar.Manifest +@Suppress("TooGenericExceptionCaught") object AttachAegis4j { private fun toBytes(clazz: Class<*>): ByteArray? { val path = clazz.name.replace('.', '/') + ".class"