instead of ```python
return
```

you should do:
```python
raise Exception("Missing key 'namenode' in HDFSCheck config")
```
Doing so will display this message in the info page.