Remove some too verbose messages when an error occur and we are not
in verbose mode.
This commit is contained in:
parent
d692199d07
commit
99ba051b7f
@ -143,7 +143,10 @@ export default function(args: string[], done: (err?: Error) => void)
|
|||||||
}
|
}
|
||||||
else if (tasksArr[i].retry <= 0)
|
else if (tasksArr[i].retry <= 0)
|
||||||
{
|
{
|
||||||
log.error(JSON.stringify(errin));
|
if (config.verbose)
|
||||||
|
{
|
||||||
|
log.error(JSON.stringify(errin));
|
||||||
|
}
|
||||||
if (config.debug)
|
if (config.debug)
|
||||||
{
|
{
|
||||||
log.dumpToDebug('BatchGiveUp', JSON.stringify(errin));
|
log.dumpToDebug('BatchGiveUp', JSON.stringify(errin));
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user