From 505c5cbfe3c3284b1fef6ae951ad2347a3a596e9 Mon Sep 17 00:00:00 2001 From: Reedy Date: Mon, 15 Oct 2012 21:32:20 +0100 Subject: [PATCH] Use wfDebugLog() not wfErrorLog() Change-Id: I98dca32d788a4ff3ea102afe358e91b9ff4b06a5 --- includes/resourceloader/ResourceLoaderFileModule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/resourceloader/ResourceLoaderFileModule.php b/includes/resourceloader/ResourceLoaderFileModule.php index ec4a14d9c6..aa177f8a03 100644 --- a/includes/resourceloader/ResourceLoaderFileModule.php +++ b/includes/resourceloader/ResourceLoaderFileModule.php @@ -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 ); -- 2.20.1