You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2020/04/15 18:02:00 UTC

[GitHub] [maven] mthmulders commented on issue #337: [MNG-6891] Improve user-friendliness --fail-on-severity

mthmulders commented on issue #337: [MNG-6891] Improve user-friendliness --fail-on-severity
URL: https://github.com/apache/maven/pull/337#issuecomment-614191357
 
 
   On second thought, I'll add the remainder of [MNG-6891](https://issues.apache.org/jira/browse/MNG-6891) to this merge request, too. That is, the part that says "it'd be nice if WARNING was accepted next to WARN".
   
   Since this feature hasn't been released yet, I took the liberty to change the message for severity levels that we don't accept for `--fos`. Instead of "Logging severity thresholds can only be set to WARN or ERROR" it'll now give the same message "INFO is not a valid log severity threshold. Valid severities are WARN/WARNING and ERROR.".
   
   This shouldn't break anything, as the feature hasn't been released yet, but makes the code a little easier to read, and it saves us one try/catch.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services