Werk #16204: metrics: Fix Internal Server Error when decimal timestamps are provided

Komponente REST API
Titel metrics: Fix Internal Server Error when decimal timestamps are provided
Datum 17.11.2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 2.3.0b1
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

Prior to this werk, when a timestamp contained decimal values the endpoint would return status 500 (Internal server error). This change fixes that and now it returns 400 (Bad Request) and a brief explanation of the error.

Zur Liste aller Werks