Skip to content

The open alternative to Salesforce, designed for AI.

Fix BUILDER_INTERNAL_SERVER_ERROR message (#20720)

Marie9fddaf53d5fa
diff --git a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service.ts b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service.ts
index ea258c054d5..88be6861078 100644
--- a/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service.ts
+++ b/packages/twenty-server/src/engine/workspace-manager/workspace-migration/services/workspace-migration-validate-build-and-run-service.ts
@@ -373,8 +373,8 @@ export class WorkspaceMigrationValidateBuildAndRunService {
.catch((error) => {
this.logger.error(error);
throw new WorkspaceMigrationV2Exception(
- WorkspaceMigrationV2ExceptionCode.BUILDER_INTERNAL_SERVER_ERROR,
error.message,
+ WorkspaceMigrationV2ExceptionCode.BUILDER_INTERNAL_SERVER_ERROR,
);
});