diff options
-rw-r--r-- | IkiWiki/Render.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Render.pm b/IkiWiki/Render.pm index d7f07c08a..c7849a2dd 100644 --- a/IkiWiki/Render.pm +++ b/IkiWiki/Render.pm @@ -100,7 +100,7 @@ sub preprocess ($$$) { #{{{ elsif ($preprocessing{$page}++ > 10) { # Avoid loops of preprocessed pages preprocessing # other pages that preprocess them, etc. - return "[[$command preprocessing loop detected]]"; + return "[[$command preprocessing loop detected on $page at depth $preprocessing{$page}]]"; } elsif (exists $hooks{preprocess}{$command}) { # Note: preserve order of params, some plugins may |