mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-26 19:11:29 +01:00
Fixed logging issue
Former-commit-id: 68ee302cbd37302345b8d83c8e588ade2383436d
This commit is contained in:
@@ -492,10 +492,10 @@ public class DependencyCheckTask extends Task {
|
|||||||
showSummary(engine.getDependencies());
|
showSummary(engine.getDependencies());
|
||||||
}
|
}
|
||||||
} catch (IOException ex) {
|
} 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);
|
throw new BuildException("Unable to generate dependency-check report", ex);
|
||||||
} catch (Exception 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);
|
throw new BuildException("An exception occured; unable to continue task", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user