From 53edcafc69a453621b68f0a3d493ae43fa4b15fe Mon Sep 17 00:00:00 2001 From: Andrew Garrett Date: Sat, 7 Feb 2009 02:26:56 +0000 Subject: [PATCH] Reduce exception on encountering an unrecognised action to a debug log message. --- AbuseFilter.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AbuseFilter.class.php b/AbuseFilter.class.php index 40cc2d13c..d99ef876b 100644 --- a/AbuseFilter.class.php +++ b/AbuseFilter.class.php @@ -503,7 +503,7 @@ class AbuseFilter { AbuseFilter::$tagsToSet[$actionID] = $parameters; break; default: - throw new MWException( "Unrecognised action $action" ); + wfDebugLog( 'AbuseFilter', "Unrecognised action $action" ); } return $display;