mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-27 19:41:38 +01:00
updated error message per issue #607
This commit is contained in:
@@ -178,7 +178,11 @@ public class AssemblyAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
throw new AnalysisException(ioe);
|
throw new AnalysisException(ioe);
|
||||||
} catch (SAXException saxe) {
|
} catch (SAXException saxe) {
|
||||||
throw new AnalysisException("Couldn't parse GrokAssembly result", saxe);
|
LOGGER.error("----------------------------------------------------");
|
||||||
|
LOGGER.error("Failed to read the Assembly Analyzer results. "
|
||||||
|
+ "On some systems mono-runtime and mono-devel need to be installed.");
|
||||||
|
LOGGER.error("----------------------------------------------------");
|
||||||
|
throw new AnalysisException("Couldn't parse Assembly Analzyzer results (GrokAssembly)", saxe);
|
||||||
} catch (XPathExpressionException xpe) {
|
} catch (XPathExpressionException xpe) {
|
||||||
// This shouldn't happen
|
// This shouldn't happen
|
||||||
throw new AnalysisException(xpe);
|
throw new AnalysisException(xpe);
|
||||||
@@ -244,7 +248,8 @@ public class AssemblyAnalyzer extends AbstractFileTypeAnalyzer {
|
|||||||
LOGGER.error("----------------------------------------------------");
|
LOGGER.error("----------------------------------------------------");
|
||||||
LOGGER.error(".NET Assembly Analyzer could not be initialized and at least one "
|
LOGGER.error(".NET Assembly Analyzer could not be initialized and at least one "
|
||||||
+ "'exe' or 'dll' was scanned. The 'mono' executable could not be found on "
|
+ "'exe' or 'dll' was scanned. The 'mono' executable could not be found on "
|
||||||
+ "the path; either disable the Assembly Analyzer or configure the path mono.");
|
+ "the path; either disable the Assembly Analyzer or configure the path mono. "
|
||||||
|
+ "On some systems mono-runtime and mono-devel need to be installed.");
|
||||||
LOGGER.error("----------------------------------------------------");
|
LOGGER.error("----------------------------------------------------");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user