Do not throw exception when script template doesn't have required annotation
^KT-23746 Fixed
This commit is contained in:
+1
-1
@@ -156,7 +156,7 @@ fun loadDefinitionsFromTemplates(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
else -> {
|
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
|
null
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user