mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-12 08:25:44 +01:00
dont log empty error messages
This commit is contained in:
@@ -358,7 +358,12 @@ public class DefaultCGIExecutor extends AbstractCGIExecutor
|
||||
|
||||
if (logger.isWarnEnabled())
|
||||
{
|
||||
logger.warn(error.toString());
|
||||
String msg = error.toString().trim();
|
||||
|
||||
if (Util.isNotEmpty(msg))
|
||||
{
|
||||
logger.warn(msg);
|
||||
}
|
||||
}
|
||||
}
|
||||
finally
|
||||
|
||||
Reference in New Issue
Block a user