[mirrorbrain-commits] r8391 - /trunk/tools/scanner.pl

From: <poeml_at_mirrorbrain.org>
Date: Sun, 09 Feb 2014 13:57:05 -0000
Author: poeml
Date: Sun Feb  9 14:57:05 2014
New Revision: 8391

URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain?rev=8391&view=rev
Log:
scanner:
- better error message when parsing a directory via HTML fails

Modified:
    trunk/tools/scanner.pl

Modified: trunk/tools/scanner.pl
URL: http://svn.mirrorbrain.org/viewvc/mirrorbrain/trunk/tools/scanner.pl?rev=8391&r1=8390&r2=8391&view=diff
==============================================================================
--- trunk/tools/scanner.pl	(original)
+++ trunk/tools/scanner.pl	Sun Feb  9 14:57:05 2014
_at_@ -747,7 +747,7 @@
   else {
     ## we come here, whenever we stumble into an automatic index.html 
     $contents = substr($contents, 0, 500);
-    print "$identifier: unparseable HTML index in $name\n" if $verbose;
+    print "$identifier: unparseable HTML index in /$name\n" if $verbose;
     warn Dumper $contents, "$identifier: http_readdir: unknown HTML format" if $verbose > 1;
   }
 




_______________________________________________
mirrorbrain-commits mailing list
Archive: http://mirrorbrain.org/archive/mirrorbrain-commits/

Note: To remove yourself from this list, send a mail with the content
 	unsubscribe
to the address mirrorbrain-commits-request_at_mirrorbrain.org
Received on Sun Feb 09 2014 - 13:57:06 GMT

This archive was generated by hypermail 2.3.0 : Sun Feb 09 2014 - 14:17:04 GMT