Do not throw exception when script template doesn't have required annotation

^KT-23746 Fixed
This commit is contained in:
Natalia Selezneva
2018-05-08 11:36:57 +03:00
parent 522587dc5d
commit 7fe21f3035
@@ -156,7 +156,7 @@ fun loadDefinitionsFromTemplates(
)
}
else -> {
LOG.error("[kts] cannot find a valid script definition annotation on the class $template")
LOG.warn("[kts] cannot find a valid script definition annotation on the class $template")
null
}
}