mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
improve error messages
This commit is contained in:
@@ -120,7 +120,8 @@ public class AetherPluginHandler
|
|||||||
}
|
}
|
||||||
catch (JAXBException ex)
|
catch (JAXBException ex)
|
||||||
{
|
{
|
||||||
throw new ConfigurationException(ex);
|
throw new ConfigurationException(
|
||||||
|
"could not create jaxb context for classpath file", ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
classpathFile = new File(localRepositoryDirectory,
|
classpathFile = new File(localRepositoryDirectory,
|
||||||
@@ -135,7 +136,7 @@ public class AetherPluginHandler
|
|||||||
}
|
}
|
||||||
catch (JAXBException ex)
|
catch (JAXBException ex)
|
||||||
{
|
{
|
||||||
logger.error(ex.getMessage(), ex);
|
logger.error("could not read classpath file", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -294,7 +295,8 @@ public class AetherPluginHandler
|
|||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
throw new PluginException(ex);
|
throw new PluginException(
|
||||||
|
"could not collect dependencies or store classpath file", ex);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user