Log something useful

This commit is contained in:
Alasdair Smith 2017-11-03 10:23:29 +00:00
parent c629f27db9
commit d5cfd34bb7

View file

@ -12,7 +12,7 @@ V1ProjectGetter =
fs.stat INTEGRATION_MODULE_PATH, (error, stats) ->
return if error? or !stats.isDirectory()
logger.log {isDirectory: stats.isDirectory}, "integration module does exist, loading V1 projects"
logger.log {isDirectory: stats.isDirectory()}, "integration module does exist, loading V1 projects"
# Monkey patch impl to actually fetch projects
V1ProjectGetter.findAllUsersProjects = (userId, callback = (error, projects) ->) ->
IntegrationProjectListGetter = require(path.join(INTEGRATION_MODULE_PATH, 'app/coffee/ProjectList/ProjectListGetter'))