change severity

This commit is contained in:
afkbrb 2020-03-02 17:40:03 +08:00
parent b0bf9203ba
commit 2fef34795d

View File

@ -49,7 +49,7 @@ public abstract class DescriptionScrutinizer extends EditScrutinizer {
protected void checkLength(ItemUpdate update, String descText, String lang) {
final int maxLength = 250;
if (descText.length() > maxLength) {
QAWarning issue = new QAWarning(descTooLongType, null, QAWarning.Severity.WARNING, 1);
QAWarning issue = new QAWarning(descTooLongType, null, QAWarning.Severity.CRITICAL, 1);
issue.setProperty("example_entity", update.getItemId());
issue.setProperty("description", descText);
issue.setProperty("lang", lang);