diff --git a/server/core/config.cc b/server/core/config.cc index 3e86b13d3..90e7da8d8 100644 --- a/server/core/config.cc +++ b/server/core/config.cc @@ -1542,6 +1542,16 @@ process_config_context(CONFIG_CONTEXT *context) { error_count += create_new_monitor(obj, monitored_servers); } + + if (error_count) + { + /** + * We need to stop creating objects after the first error since + * any objects that depend on the object that failed would fail in + * a very confusing manner. + */ + break; + } } if (error_count)