Werk #15979: bi: return 404 status code when trying to retrieve a non existing rule

Component REST API
Title bi: return 404 status code when trying to retrieve a non existing rule
Date Jul 12, 2023
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 2.0.0p38
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

Prior to this werk, the get bi rule endpoint returned a 500 status code whenever the user tried to get a non existing rule. This werk fixes this and returns a 404 status code instead.

To the list of all Werks