Improving error notification

Would be great if there is more information in the error notification (see pic below).
On inspecting dev tools, the GetMenuId - Response was empty.

image

The expected behaviour is that front end shows an error dialog warning about the GetMenuId response being empty.