]> sipb.mit.edu Git - ikiwiki.git/commitdiff
added info
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 26 Aug 2006 23:37:56 +0000 (23:37 +0000)
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>
Sat, 26 Aug 2006 23:37:56 +0000 (23:37 +0000)
IkiWiki/Render.pm

index d7f07c08a1028f7a7353953610daeab7ac236e21..c7849a2dda3c78d123642a233f9fe0347fc9f46d 100644 (file)
@@ -100,7 +100,7 @@ sub preprocess ($$$) { #{{{
                elsif ($preprocessing{$page}++ > 10) {
                        # Avoid loops of preprocessed pages preprocessing
                        # other pages that preprocess them, etc.
                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
                }
                elsif (exists $hooks{preprocess}{$command}) {
                        # Note: preserve order of params, some plugins may