Skip to content

Commit c6fac93

Browse files
committed
Make LookupJDKToolchainsJob detection less prone to failures
Change-Id: I50de3b63eecd007f5a7a92bdfe6299326ad5d634 Signed-off-by: Fred Bricon <[email protected]>
1 parent 248d8fc commit c6fac93

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

m2e-core-tests

org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/LookupJDKToolchainsJob.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ protected IStatus run(IProgressMonitor monitor) {
5858
}
5959
addToolchain(toolchain);
6060
}
61-
} catch(IOException e) {
61+
} catch(Exception e) {
6262
return Status.error(e.getMessage(), e);
6363
}
6464
}

0 commit comments

Comments
 (0)