diff --git a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ActionServiceImpl.java b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ActionServiceImpl.java index 0f35f16242..83adb7bd26 100644 --- a/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ActionServiceImpl.java +++ b/app/server/appsmith-server/src/main/java/com/appsmith/server/services/ActionServiceImpl.java @@ -345,6 +345,8 @@ public class ActionServiceImpl extends BaseService { Set invalids = datasource.getInvalids(); if (!CollectionUtils.isEmpty(invalids)) { + log.error("Unable to execute actionId: {} because it's datasource is not valid. Cause: {}", + actionFromDto.getId(), ArrayUtils.toString(invalids)); return Mono.error(new AppsmithException(AppsmithError.INVALID_DATASOURCE, ArrayUtils.toString(invalids))); } return pluginService.findById(datasource.getPluginId());