Bugfix: show error message on registration problem

Closes #3039.
Merge remote-tracking branch 'ivan/bug/3039_registration-error-message' into develop