Display retry firmware update messages with regular color because they're not errors.
This commit is contained in:
@@ -89,7 +89,7 @@ export async function retry(command: Function, maxTry = 3, logService?: LogServi
|
|||||||
throw err;
|
throw err;
|
||||||
} else {
|
} else {
|
||||||
if (logService) {
|
if (logService) {
|
||||||
logService.error(`[retry] failed, but try run FUNCTION:\n ${command}, \n retry: ${retryCount}`);
|
logService.info(`[retry] failed, but try run FUNCTION:\n ${command}, \n retry: ${retryCount}`);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user