summaryrefslogtreecommitdiff
path: root/src/queue/processors/http/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/queue/processors/http/index.ts')
-rw-r--r--src/queue/processors/http/index.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/queue/processors/http/index.ts b/src/queue/processors/http/index.ts
index 156be42250..74ed723bd3 100644
--- a/src/queue/processors/http/index.ts
+++ b/src/queue/processors/http/index.ts
@@ -1,5 +1,6 @@
import deliver from './deliver';
import processInbox from './process-inbox';
+import { queueLogger } from '../..';
const handlers: any = {
deliver,
@@ -12,7 +13,7 @@ export default (job: any, done: any) => {
if (handler) {
handler(job, done);
} else {
- console.error(`Unknown job: ${job.data.type}`);
+ queueLogger.error(`Unknown job: ${job.data.type}`);
done();
}
};