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 37584068e6..5bfcdc1420 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 @@ -427,6 +427,13 @@ public class ActionServiceImpl extends BaseService { + log.debug("In the action execution error mode. Cause: {}", e.getMessage()); + ActionExecutionResult result = new ActionExecutionResult(); + result.setBody(e.getMessage()); + result.setIsExecutionSuccess(false); + return Mono.just(result); + }) .map(obj -> populateRequestFields(actionConfiguration, (ActionExecutionResult) obj)); })) .flatMap(obj -> obj);