[MXS-4332] REST API reports unknown parameters with warnings and not errors Created: 2022-10-03 Updated: 2022-10-04 Resolved: 2022-10-04 |
|
| Status: | Closed |
| Project: | MariaDB MaxScale |
| Component/s: | REST-API |
| Affects Version/s: | 2.5.21 |
| Fix Version/s: | 2.5.22 |
| Type: | Bug | Priority: | Major |
| Reporter: | markus makela | Assignee: | markus makela |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
An unknown parameter given to maxctrl alter server is not reported correctly as an error but as a warning. This causes a generic HTTP error message to be printed:
If the unknown parameter is logged at the error level, it will be correctly relayed to the client application. |