Commit 1287e566 authored by Robert Smith's avatar Robert Smith
Browse files

Fixed try/catch statement in GitCloneHandler



Replaced an accidentally removed try/catch statement in GitCloneHandler.
Signed-off-by: Robert Smith's avatarRobert Smith <smithrw@ornl.gov>
parent 2fcc2784
...@@ -166,7 +166,11 @@ public class GitCloneHandler extends AbstractHandler { ...@@ -166,7 +166,11 @@ public class GitCloneHandler extends AbstractHandler {
cloneOperation = new CloneOperation(new URIish(repo), true, null, cloneLocation, branch, "origin", cloneOperation = new CloneOperation(new URIish(repo), true, null, cloneLocation, branch, "origin",
100); 100);
addPostCloneTasks(); addPostCloneTasks();
UserPasswordCredentials credentials = SecureStoreUtils.getCredentials(new URIish(repo)); try {
UserPasswordCredentials credentials = SecureStoreUtils.getCredentials(new URIish(repo));
} catch (Exception e) {
e.printStackTrace();
}
cloneOperation.run(monitor); cloneOperation.run(monitor);
final RepositoryUtil util = Activator.getDefault().getRepositoryUtil(); final RepositoryUtil util = Activator.getDefault().getRepositoryUtil();
util.addConfiguredRepository(cloneOperation.getGitDir()); util.addConfiguredRepository(cloneOperation.getGitDir());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment