Skip to content

Commit

Permalink
Remove the 'undefined' message from logging
Browse files Browse the repository at this point in the history
  • Loading branch information
sulkaharo committed Sep 6, 2015
1 parent e4f7d35 commit 2acda1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function init (env, ctx, server) {

function emitData (delta) {
if (lastData.cals) {
console.log('running websocket.emitData', ctx.data.lastUpdated, delta.recentsgvs && delta.sgvdataupdate.length);
console.log('running websocket.emitData', ctx.data.lastUpdated);
io.emit('dataUpdate', delta);
}
}
Expand Down

0 comments on commit 2acda1d

Please sign in to comment.