From 829ab59a7d41deac3ddd35b8176a5a968218fd43 Mon Sep 17 00:00:00 2001 From: Jeremy Ruston Date: Mon, 25 Mar 2013 19:56:22 +0000 Subject: [PATCH] Add error message for recursively including a wiki --- core/boot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/boot.js b/core/boot.js index a341ccb85..1091e2b43 100644 --- a/core/boot.js +++ b/core/boot.js @@ -1018,6 +1018,8 @@ $tw.loadWikiTiddlers = function(wikiPath,parentPaths) { var resolvedIncludedWikiPath = path.resolve(wikiPath,includedWikiPath); if(parentPaths.indexOf(resolvedIncludedWikiPath) === -1) { $tw.loadWikiTiddlers(resolvedIncludedWikiPath,parentPaths); + } else { + console.log("Cannot recursively include wiki",resolvedIncludedWikiPath); } }); }