Skip to content

Commit

Permalink
BUGFIX: Improve invalid WorkspaceName exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
bwaidelich authored Aug 15, 2024
1 parent f782401 commit d6105d8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ private function __construct(
public readonly string $value
) {
if (!self::hasValidFormat($value)) {
throw new \InvalidArgumentException('Invalid workspace name given.', 1505826610);
throw new \InvalidArgumentException(sprintf('Invalid workspace name "%s" given. A workspace name has to consist of at most %d lower case characters', $value, self::MAX_LENGTH), 1505826610);
}
}

Expand Down

0 comments on commit d6105d8

Please sign in to comment.