Use wfDebugLog() not wfErrorLog()
authorReedy <reedy@wikimedia.org>
Mon, 15 Oct 2012 20:32:20 +0000 (21:32 +0100)
committerReedy <reedy@wikimedia.org>
Mon, 15 Oct 2012 20:32:20 +0000 (21:32 +0100)
Change-Id: I98dca32d788a4ff3ea102afe358e91b9ff4b06a5

includes/resourceloader/ResourceLoaderFileModule.php

index ec4a14d..aa177f8 100644 (file)
@@ -621,7 +621,7 @@ class ResourceLoaderFileModule extends ResourceLoaderModule {
                $localPath = $this->getLocalPath( $path );
                if ( !file_exists( $localPath ) ) {
                        $msg = __METHOD__.": style file not found: \"$localPath\"";
-                       wfErrorLog( $msg, 'resourceloader' );
+                       wfDebugLog( 'resourceloader', $msg );
                        throw new MWException( $msg );
                }
                $style = file_get_contents( $localPath );