Skip to content

Commit

Permalink
fix: fix the logging
Browse files Browse the repository at this point in the history
  • Loading branch information
fengkx committed Dec 8, 2019
1 parent 743aa54 commit 27fe041
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/fetch.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const _pick = require('lodash.pick');
const schedule = require('node-schedule');
const logger = require('./logger');
const feedUtil = require('./feed');
const errors = require('./errors');

const {
getAllFeeds,
updateHashList,
Expand Down Expand Up @@ -73,7 +73,6 @@ const fetch = async (feedUrl) => {
if (feed.error_count === notify_error_count || round_happen) {
handleErr(e, feed);
}
throw errors.newCtrlErr('FETCH_ERROR', e);
}
};

Expand Down

0 comments on commit 27fe041

Please sign in to comment.