BUG527:エラーの共通処理追加
This commit is contained in:
@@ -74,12 +74,12 @@ export class DataUpdateAction implements IAction {
|
||||
}
|
||||
|
||||
async process(
|
||||
prop: IActionNode,
|
||||
actionNode: IActionNode,
|
||||
event: any,
|
||||
context: IContext
|
||||
): Promise<IActionResult> {
|
||||
this.actionProps = prop.actionProps;
|
||||
this.dataMappingProps = prop.ActionValue as Props;
|
||||
this.actionProps = actionNode.actionProps;
|
||||
this.dataMappingProps = actionNode.ActionValue as Props;
|
||||
console.log(context);
|
||||
let result = {
|
||||
canNext: true,
|
||||
@@ -121,7 +121,7 @@ export class DataUpdateAction implements IAction {
|
||||
);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("DataMappingAction error", error);
|
||||
context.errors.handleError(error,actionNode);
|
||||
result.canNext = false;
|
||||
}
|
||||
console.log("dataMappingProps", this.dataMappingProps);
|
||||
|
||||
Reference in New Issue
Block a user