Better reporting of project-not-found

This commit is contained in:
Nick O'Leary
2018-01-24 21:54:18 +00:00
parent 20a0e4f3e0
commit 95589307cd
6 changed files with 16 additions and 6 deletions

View File

@@ -437,6 +437,8 @@ function getFlows() {
initialFlowLoadComplete = true;
log.info(log._("storage.localfilesystem.user-dir",{path:settings.userDir}));
if (activeProject) {
// At this point activeProject will be a string, so go load it and
// swap in an instance of Project
return loadProject(activeProject).then(function() {
log.info(log._("storage.localfilesystem.projects.active-project",{project:activeProject.name||"none"}));
log.info(log._("storage.localfilesystem.flows-file",{path:flowsFullPath}));