gradle-aem-plugin
gradle-aem-plugin copied to clipboard
Kotlin Coroutine dies intermittently

I implemented protection wrapper code around it to have at least error reporting but still this situation should not happen. The only idea I have to fix it is to get rid of coroutines as they are not needed probably in GAP, the work started already here: https://github.com/wttech/gradle-common-plugin/pull/4
on screenshot , instance was started but coroutine-based ChecksRunner is not running properly note that this situation I spotted only few times within last years. just rerunning task works as desired.
added more strict exception handling so that now whenever situation will happen there will be a error info printed to the console