log undefined value only when debug

This commit is contained in:
soulgalore 2018-04-13 20:29:44 +02:00
parent 19fc3d2188
commit 9c69224b1e
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ module.exports = {
break;
case 'undefined':
{
log.warn(
log.debug(
`Undefined value found at path '${keyPrefix}' for '${type}' message (url = ${
data.url
})`