Add console.log messages to debug travis CI error