Skip to content

Commit

Permalink
Documentation: Improve error message for username being missing
Browse files Browse the repository at this point in the history
Show the full correct git command to execute


Former-commit-id: c0cac62
  • Loading branch information
damienbiggs committed Mar 9, 2017
1 parent 978c411 commit 63f74b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion serviceApis/src/main/java/com/vmware/AbstractService.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public void setupAuthenticatedConnection() {

public String getUsername() {
if (StringUtils.isBlank(username)) {
throw new RuntimeException("Username is empty, please set workflow config value username or git config value user.email");
throw new RuntimeException("Username is empty, please set workflow config value username or git config --global user.email [your email address]");
}
return username;
}
Expand Down
2 changes: 1 addition & 1 deletion workflow.jar.REMOVED.git-id
Original file line number Diff line number Diff line change
@@ -1 +1 @@
441bc878febc08ea1e64604cab1fdb021bdbdb32
74f12a065fc14859da4014f26d434b6620521d8b

0 comments on commit 63f74b8

Please sign in to comment.