During registration a useful error message is now printed
Merge pull request #385 from terwey/registration_error

During registration a useful error message is now printed