During registration a useful error message is now printed