Skip to content

Commit 750e3f1

Browse files
cli/command_config.cpp: fixing competion status message for macos because it says unknown error on success (error code 0)
1 parent dd9ce74 commit 750e3f1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cli/command_config.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ command_config_main(int argc, char *argv[]) -> int { // NOLINT(*-c-arrays)
230230
lgr.error("Error: {}", e.what());
231231
return EXIT_FAILURE;
232232
}
233-
lgr.debug("Completed configuration with status: {}", error);
233+
lgr.info("Completed configuration with status: {}",
234+
error ? error.message() : "Success");
234235

235236
return EXIT_SUCCESS;
236237
}

0 commit comments

Comments
 (0)