Skip to content

Commit

Permalink
Tweaks error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbrowndotje committed Dec 31, 2023
1 parent 8b82f6b commit de1b41c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}
}

Expand Down

0 comments on commit de1b41c

Please sign in to comment.