summaryrefslogtreecommitdiff
path: root/src/queue
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-04-06 14:39:28 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-04-06 14:39:28 +0900
commit0856f4cd12ba2e053ab3ef30acdbec7e9a59fc61 (patch)
tree77e0b6bf1fa7efded09e1810ba7ea487c728007e /src/queue
parentFix bug (diff)
downloadsharkey-0856f4cd12ba2e053ab3ef30acdbec7e9a59fc61.tar.gz
sharkey-0856f4cd12ba2e053ab3ef30acdbec7e9a59fc61.tar.bz2
sharkey-0856f4cd12ba2e053ab3ef30acdbec7e9a59fc61.zip
Use error instaed of warn
Diffstat (limited to 'src/queue')
-rw-r--r--src/queue/processors/http/index.ts2
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();
}
};