mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-24 02:38:16 +00:00
Reduce exception on encountering an unrecognised action to a debug log message.
This commit is contained in:
parent
050e623836
commit
53edcafc69
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue