File tree Expand file tree Collapse file tree
backend/plugin/src/main/kotlin/com/ritense/plugin/autodeployment Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -35,15 +35,13 @@ import org.springframework.core.io.support.ResourcePatternUtils
3535import org.springframework.transaction.annotation.Transactional
3636import java.io.IOException
3737
38- @Transactional
3938class PluginAutoDeploymentEventListener (
4039 private val resourceLoader : ResourceLoader ,
4140 private val pluginService : PluginService ,
4241 private val objectMapper : ObjectMapper ,
4342 private val eventPublisher : ApplicationEventPublisher
4443) {
4544
46- @Transactional
4745 @Order(Ordered .LOWEST_PRECEDENCE - 1 )
4846 @EventListener(ApplicationReadyEvent ::class )
4947 fun deployPluginConfigurations (){
@@ -55,6 +53,7 @@ class PluginAutoDeploymentEventListener(
5553 createPluginConfigurations(resource)
5654 } catch (e: Exception ) {
5755 logger.error(e) { " Error while deploying plugin configuration file: '${resource.filename} '" }
56+ throw e
5857 }
5958 }
6059
You can’t perform that action at this time.
0 commit comments