Remove some too verbose messages when an error occur and we are not

in verbose mode.
This commit is contained in:
Godzil 2020-04-27 22:39:30 +01:00
parent d692199d07
commit 99ba051b7f

View File

@ -142,8 +142,11 @@ export default function(args: string[], done: (err?: Error) => void)
i = tasksArr.length;
}
else if (tasksArr[i].retry <= 0)
{
if (config.verbose)
{
log.error(JSON.stringify(errin));
}
if (config.debug)
{
log.dumpToDebug('BatchGiveUp', JSON.stringify(errin));