From de1b41c242ee780b4135ca1d27d1bd0d29bafa7c Mon Sep 17 00:00:00 2001 From: Simon Brown Date: Sun, 31 Dec 2023 10:45:22 +0000 Subject: [PATCH] Tweaks error message. --- .../structurizr/onpremises/util/WorkspaceValidationUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/structurizr-onpremises/src/main/java/com/structurizr/onpremises/util/WorkspaceValidationUtils.java b/structurizr-onpremises/src/main/java/com/structurizr/onpremises/util/WorkspaceValidationUtils.java index e39c7c6..034d42f 100644 --- a/structurizr-onpremises/src/main/java/com/structurizr/onpremises/util/WorkspaceValidationUtils.java +++ b/structurizr-onpremises/src/main/java/com/structurizr/onpremises/util/WorkspaceValidationUtils.java @@ -10,7 +10,7 @@ public static void validateWorkspaceScope(Workspace workspace) throws WorkspaceS // if workspace scope validation is enabled, reject workspaces without a defined scope if (Configuration.getInstance().isFeatureEnabled(Features.WORKSPACE_SCOPE_VALIDATION)) { if (workspace.getConfiguration().getScope() == null) { - throw new WorkspaceScopeValidationException("Strict workspace scope validation has been enabled on this on-premises installation, but this workspace has no defined scope - see https://docs.structurizr.com/workspaces for more information."); + throw new WorkspaceScopeValidationException("Strict workspace scope validation has been enabled for this on-premises installation. Unscoped workspaces are not permitted - see https://docs.structurizr.com/workspaces for more information."); } }