mirror of
https://github.com/apache/archiva.git
synced 2025-02-06 18:19:02 +00:00
avoid using printStackTrace
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1345577 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
eeed20ed36
commit
e02d0cdc8b
@ -628,7 +628,7 @@ public void removeArtifact( String repoId, String namespace, String project, Str
|
||||
catch ( IOException e )
|
||||
{
|
||||
// TODO
|
||||
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
|
||||
log.error( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
@ -733,7 +733,7 @@ public void updateArtifact( String repoId, String namespace, String projectId, S
|
||||
catch ( IOException e )
|
||||
{
|
||||
// TODO
|
||||
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
|
||||
log.error( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user