diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 797debea..ff3dd217 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -12,6 +12,7 @@ The following people (in alphabetical order) have contributed: * Edd Barrett - Testing, documentation. * Fabien Poussin - Code, services, documentation. * James Knippes - Code + * Jami Kettunen - Code * Mobin Aydinfar - Code, documentation, CI * Oliver Amann - Code, testing, documentation * Locria Cyber - Code, documentation diff --git a/src/includes/service.h b/src/includes/service.h index 6de8b50d..8e25c493 100644 --- a/src/includes/service.h +++ b/src/includes/service.h @@ -223,12 +223,12 @@ inline void log_service_load_failure(service_description_exc &exc) if (exc.input_pos.get_line_num() != (unsigned)-1) { if (exc.setting_name == nullptr) { log(loglevel_t::ERROR, "Error in service description for '", exc.service_name, - "' (file ", exc.input_pos.get_file_name(), "line ", exc.input_pos.get_line_num(), "): ", + "' (file ", exc.input_pos.get_file_name(), ", line ", exc.input_pos.get_line_num(), "): ", exc.exc_description); } else { log(loglevel_t::ERROR, "Error in service description for '", exc.service_name, "': setting '", exc.setting_name, "' " - "(file ", exc.input_pos.get_file_name(), "line ", exc.input_pos.get_line_num(), "): ", + "(file ", exc.input_pos.get_file_name(), ", line ", exc.input_pos.get_line_num(), "): ", exc.exc_description); } }