Change Log Level [debug -> info] for eazily recognizing error (#508)

Co-authored-by: myungjunchae <wk10437@webtoonscorp.com>
This commit is contained in:
ono 2021-10-06 01:48:23 +09:00 committed by GitHub
parent 3e8bda0a20
commit cb8ad19136
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -219,7 +219,7 @@ programCommand('verify').action(async (directory, cmd) => {
const text = await check.text();
if (!text.match(/Not found/i)) {
if (text.length == 0) {
log.debug(
log.info(
'Name',
name,
'with',
@ -229,10 +229,10 @@ programCommand('verify').action(async (directory, cmd) => {
cacheItem.onChain = false;
allGood = false;
} else {
log.debug('Name', name, 'with', uri, 'checked out');
log.info('Name', name, 'with', uri, 'checked out');
}
} else {
log.debug(
log.info(
'Name',
name,
'with',
@ -243,7 +243,7 @@ programCommand('verify').action(async (directory, cmd) => {
allGood = false;
}
} else {
log.debug(
log.info(
'Name',
name,
'with',
@ -255,12 +255,12 @@ programCommand('verify').action(async (directory, cmd) => {
allGood = false;
}
} else {
log.debug('Name', name, 'with', uri, 'lacked image in json, failing');
log.info('Name', name, 'with', uri, 'lacked image in json, failing');
cacheItem.onChain = false;
allGood = false;
}
} else {
log.debug('Name', name, 'with', uri, 'returned no json from link');
log.info('Name', name, 'with', uri, 'returned no json from link');
cacheItem.onChain = false;
allGood = false;
}