Reduce exception on encountering an unrecognised action to a debug log message.

This commit is contained in:
Andrew Garrett 2009-02-07 02:26:56 +00:00
parent 050e623836
commit 53edcafc69

View file

@ -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;