Fixed logging issue

Former-commit-id: 68ee302cbd37302345b8d83c8e588ade2383436d
This commit is contained in:
Jeremy Long
2014-01-03 08:54:40 -05:00
parent 06cff0b2a6
commit 58ebcbce3d

View File

@@ -492,10 +492,10 @@ public class DependencyCheckTask extends Task {
showSummary(engine.getDependencies());
}
} catch (IOException ex) {
Logger.getLogger(DependencyCheckTask.class.getName()).log(Level.FINE, null, ex);
Logger.getLogger(DependencyCheckTask.class.getName()).log(Level.FINE, "Unable to generate dependency-check report", ex);
throw new BuildException("Unable to generate dependency-check report", ex);
} catch (Exception ex) {
Logger.getLogger(DependencyCheckTask.class.getName()).log(Level.SEVERE, null, ex);
Logger.getLogger(DependencyCheckTask.class.getName()).log(Level.FINE, "An exception occured; unable to continue task", ex);
throw new BuildException("An exception occured; unable to continue task", ex);
}
}