diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2018-04-06 14:39:28 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2018-04-06 14:39:28 +0900 |
| commit | 0856f4cd12ba2e053ab3ef30acdbec7e9a59fc61 (patch) | |
| tree | 77e0b6bf1fa7efded09e1810ba7ea487c728007e /src/queue/processors | |
| parent | Fix bug (diff) | |
| download | sharkey-0856f4cd12ba2e053ab3ef30acdbec7e9a59fc61.tar.gz sharkey-0856f4cd12ba2e053ab3ef30acdbec7e9a59fc61.tar.bz2 sharkey-0856f4cd12ba2e053ab3ef30acdbec7e9a59fc61.zip | |
Use error instaed of warn
Diffstat (limited to 'src/queue/processors')
| -rw-r--r-- | src/queue/processors/http/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/queue/processors/http/index.ts b/src/queue/processors/http/index.ts index 61d7f9ac94..3dc2595374 100644 --- a/src/queue/processors/http/index.ts +++ b/src/queue/processors/http/index.ts @@ -14,7 +14,7 @@ export default (job, done) => { if (handler) { handler(job, done); } else { - console.warn(`Unknown job: ${job.data.type}`); + console.error(`Unknown job: ${job.data.type}`); done(); } }; |