Skip to content

Commit

Permalink
more logging
Browse files Browse the repository at this point in the history
  • Loading branch information
noahsw committed Aug 7, 2016
1 parent 3ae77ca commit c1b8f09
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/imports/api/games/server/mlb_game_data.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ export default {

const season = SeasonFinder.getByYear(league, year);

log.info(`Ingesting MLB data from ${year}-${month}-${day}`);

const url = `http://gd2.mlb.com/components/game/mlb/year_${year}/month_${padZeros(month, 2)}/day_${padZeros(day, 2)}/miniscoreboard.json`;
log.debug('url: ', url);
const response = HTTP.get(url);
Expand Down

0 comments on commit c1b8f09

Please sign in to comment.