commit | 77f054e955e03977e8b27b918cc32c4d9ce7c84c | [log] [tgz] |
---|---|---|
author | Ed Merks <ed.merks@gmail.com> | Sat Nov 11 11:13:32 2017 +0100 |
committer | Ed Merks <ed.merks@gmail.com> | Sat Nov 11 11:13:32 2017 +0100 |
tree | 8290c8e4bd41f1c4c1a8b3f383d15aa491ecaf2d | |
parent | 7960ffda2dfe8565e1f1fb57341819775f8c827e [diff] |
[526927] Swallowed Exception in GitCloneTaskImpl https://bugs.eclipse.org/bugs/show_bug.cgi?id=526927
diff --git a/plugins/org.eclipse.oomph.setup.git/src/org/eclipse/oomph/setup/git/impl/GitCloneTaskImpl.java b/plugins/org.eclipse.oomph.setup.git/src/org/eclipse/oomph/setup/git/impl/GitCloneTaskImpl.java index cfcfbcf..cc1a50e 100644 --- a/plugins/org.eclipse.oomph.setup.git/src/org/eclipse/oomph/setup/git/impl/GitCloneTaskImpl.java +++ b/plugins/org.eclipse.oomph.setup.git/src/org/eclipse/oomph/setup/git/impl/GitCloneTaskImpl.java
@@ -863,14 +863,21 @@ context.log("Deleting the result of the canceled clone operation"); } - FileUtil.delete(workDir, new NullProgressMonitor() + try { - @Override - public boolean isCanceled() + FileUtil.delete(workDir, new NullProgressMonitor() { - return false; - } - }); + @Override + public boolean isCanceled() + { + return false; + } + }); + } + catch (Exception deleteException) + { + context.log(deleteException); + } } if (ex instanceof OperationCanceledException)