Fix bug 1029166: Improve error message on domain configure