Skip to content

Improvement: Standardized all exception messages in SiteContainers.php #1898

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

SiddhiK13
Copy link

What does this PR do?

  • Improves and standardizes exception/help text messages in SiteContainers.php (or whichever file you changed).
  • Adds relevant context (site path, site URL) to error/help messages.
  • Removes inconsistent leading spaces and vague wording.

Why?

  • Previous messages were inconsistent and sometimes unclear.
  • Better messages help users and developers debug faster.

Testing

  • Ran php -l for syntax check.
  • Verified help text/output locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant