mirror of https://github.com/apache/archiva.git
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 class FileMetadataRepository
|
|||
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 class FileMetadataRepository
|
|||
catch ( IOException e )
|
||||
{
|
||||
// TODO
|
||||
e.printStackTrace(); //To change body of catch statement use File | Settings | File Templates.
|
||||
log.error( e.getMessage(), e );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue