Skip to content

Commit 50dd145

Browse files
committed
#531: cosmetics
1 parent 8619bd2 commit 50dd145

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

plugins/org.eclipse.embedcdt.ui/src/org/eclipse/embedcdt/ui/templates/core/processes/ConditionalRunCommandUi.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ public void run(IProgressMonitor pm) throws InterruptedException {
188188

189189
} catch (IOException e) {
190190
// e.printStackTrace();
191-
192191
// Do not pass a message and a cause, they are messed due to a bug.
193192
throw new InterruptedException(e.getMessage()); //$NON-NLS-1$
194193
} finally {
@@ -201,12 +200,10 @@ public void run(IProgressMonitor pm) throws InterruptedException {
201200
try {
202201
dialog.run(true, false, runnable);
203202
} catch (InvocationTargetException e1) {
204-
e1.printStackTrace();
205-
203+
// e1.printStackTrace();
206204
throw new ProcessFailureException(e1.getMessage()); //$NON-NLS-1$
207205
} catch (InterruptedException e1) {
208-
e1.printStackTrace();
209-
206+
// e1.printStackTrace();
210207
throw new ProcessFailureException(e1.getMessage()); //$NON-NLS-1$
211208
}
212209

0 commit comments

Comments
 (0)