diff --git a/packages/syft/src/syft/protocol/data_protocol.py b/packages/syft/src/syft/protocol/data_protocol.py index a17732a8a7c..6797c9e8866 100644 --- a/packages/syft/src/syft/protocol/data_protocol.py +++ b/packages/syft/src/syft/protocol/data_protocol.py @@ -271,8 +271,9 @@ def bump_protocol_version(self) -> Result[SyftSuccess, SyftError]: keys = self.protocol_history.keys() if "dev" not in keys: - raise Exception( - "You can't bump the protocol if there are no staged changes." + print("You can't bump the protocol if there are no staged changes.") + return SyftError( + message="Failed to bump version as there are no staged changes." ) highest_protocol = 0 diff --git a/packages/syft/src/syft/service/metadata/node_metadata.py b/packages/syft/src/syft/service/metadata/node_metadata.py index 07cab49c421..26744c6072d 100644 --- a/packages/syft/src/syft/service/metadata/node_metadata.py +++ b/packages/syft/src/syft/service/metadata/node_metadata.py @@ -158,6 +158,8 @@ class NodeMetadataJSON(BaseModel, StorableObjectType): node_type: str = NodeType.DOMAIN.value organization: str = "OpenMined" description: str = "My cool domain" + signup_enabled: Optional[bool] + admin_email: Optional[str] node_side_type: str show_warnings: bool supported_protocols: List = []