SONAR-4394 Improve ui error handling