Skip to content

Commit

Permalink
allow debug logging in cp pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Aug 20, 2017
1 parent 9901fc1 commit f531043
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions core/workers/pipeline/child.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,8 @@ var start = (mode, config) => {

var dirs = util.dirs();

// force correct gekko mode
// force correct gekko mode & config
util.setGekkoMode(mode);

// force disable debug
config.debug = false;
util.setConfig(config);

var pipeline = require(dirs.core + 'pipeline');
Expand Down
2 changes: 1 addition & 1 deletion core/workers/pipeline/messageHandlers/backtestHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ module.exports = done => {
else if(message.type === 'report')
report = message.report;

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

0 comments on commit f531043

Please sign in to comment.