Catch ConfigError in register()