action #95293

Updated by ilausuch over 2 years ago

## Observation 

 From favogt: 
 > I'm getting a 500 on due to [2021-07-09T09:20:25.0092 UTC] [error] [sNVmMoPb-wu6] Can't call method "id" on an undefined value at /usr/share/openqa/script/../lib/OpenQA/WebAPI/Controller/ line 119.. Known? 

 The problem has been fixed with a revert in #95281 but why did we not catch this issue in our tests or monitoring? 

 ## Acceptance criteria 
 * **AC1:** DONE: Tests within reproduce/cover the problem -> already covered in 
 * **AC2:** Monitoring alerts on errors in logs 

 ## Suggestions 
 Consider integrating into OSD grafana monitoring