Clean step and edge errors (#14261)

- add filters for both resolvers
- map to gql errors

Should fix https://github.com/twentyhq/core-team-issues/issues/996
This commit is contained in:
Thomas Trompette
2025-09-03 10:00:02 +02:00
committed by GitHub
parent c847a72926
commit 2e7fe238ed
8 changed files with 83 additions and 14 deletions
@@ -214,7 +214,7 @@ export class ServerlessFunctionService {
if (!isDefined(publishedServerlessFunction.latestVersion)) {
throw new WorkflowVersionStepException(
`Fail to publish serverlessFunction ${publishedServerlessFunction.id}.Received latest version ${publishedServerlessFunction.latestVersion}`,
WorkflowVersionStepExceptionCode.FAILURE,
WorkflowVersionStepExceptionCode.CODE_STEP_FAILURE,
);
}