Skip to content

Commit

Permalink
Fix log.debug statements
Browse files Browse the repository at this point in the history
* Fix code from commit `2c5306e12` that broke(?) `log.debug` statements
* Fix small typo
  • Loading branch information
andyklimczak authored and askmike committed Nov 19, 2017
1 parent 4a8984c commit 7da3cf3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion core/workers/pipeline/messageHandlers/backtestHandler.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// listen to all messages and internally queue
// all candles and tades, when done report them
// all candles and trades, when done report them
// all back at once

module.exports = done => {
Expand All @@ -22,6 +22,9 @@ module.exports = done => {

else if(message.type === 'report')
report = message.report;

else if(message.log)
console.log(message.log);
},
exit: status => {
if(status !== 0)
Expand Down

0 comments on commit 7da3cf3

Please sign in to comment.