diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-03-04 03:46:52 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-03-04 03:46:52 +0300 |
commit | 9643645bf18ad2d1b209cc9c2662049b6a8e3ace (patch) | |
tree | bbeef409d3f9790783098ee8ea4042fb6ba4a9bb /src | |
parent | 2eee658c40440e6b0d775afb9c9d70490343ff03 (diff) |
jobd: change level of some logs
Diffstat (limited to 'src')
-rwxr-xr-x | src/jobd.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/jobd.js b/src/jobd.js index 26b8aa5..298d769 100755 --- a/src/jobd.js +++ b/src/jobd.js @@ -125,7 +125,9 @@ function initWorker() { logger.trace(`job-done: resolving promise of job ${data.id}`) P.resolve(data) } else { - logger.warn(`job-done: jobPromises[${data.id}] is undefined`) + // this is not an error, as there will be no promise unless it's a manual job + // so this is totally normal situation, thus debug() and not warn() or error() + logger.debug(`job-done: jobPromises[${data.id}] is undefined`) } }) } |