Skip to content

Commit

Permalink
fix(CDAP-20647): Improve SCM config not found error message and add d…
Browse files Browse the repository at this point in the history
…irection where to configure.
  • Loading branch information
de-lan committed Jul 12, 2023
1 parent 986d773 commit 3a81926
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public class RepositoryNotFoundException extends NotFoundException {
private final NamespaceId namespace;

public RepositoryNotFoundException(NamespaceId id) {

Check warning on line 28 in cdap-common/src/main/java/io/cdap/cdap/common/RepositoryNotFoundException.java

View workflow job for this annotation

GitHub Actions / Checkstyle

com.puppycrawl.tools.checkstyle.checks.javadoc.MissingJavadocMethodCheck

Missing a Javadoc comment.
super(String.format("The repository configuration of namespace %s is not found.", id));
super(String.format("There is no repository configuration for namespace %s. "
+ "Please configure it in Namespace Admin page", id));
this.namespace = id;
}

Expand Down

0 comments on commit 3a81926

Please sign in to comment.