From 2fd6de2ccc90f1d0c7a9dc19e4721af41705c4b1 Mon Sep 17 00:00:00 2001 From: Civitaspo Date: Tue, 30 Jul 2019 10:58:35 +0900 Subject: [PATCH] ./gradlew spotlessApply --- .../pro/civitaspo/digdag/plugin/ecs_task/EcsTaskPlugin.scala | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/scala/pro/civitaspo/digdag/plugin/ecs_task/EcsTaskPlugin.scala b/src/main/scala/pro/civitaspo/digdag/plugin/ecs_task/EcsTaskPlugin.scala index 5682ca4..f09d8cb 100644 --- a/src/main/scala/pro/civitaspo/digdag/plugin/ecs_task/EcsTaskPlugin.scala +++ b/src/main/scala/pro/civitaspo/digdag/plugin/ecs_task/EcsTaskPlugin.scala @@ -46,8 +46,7 @@ object EcsTaskPlugin { val constructor: Constructor[T] = klass.getConstructor(classOf[String], classOf[OperatorContext], classOf[Config], classOf[TemplateEngine]) try { constructor.newInstance(operatorName, context, systemConfig, templateEngine) - } - catch { + } catch { case e: Throwable => throw new ConfigException(e) } }