fix: fail non-fatally when InitLogging fails (#35190)

Co-authored-by: Jeremy Rose <japthorp@slack-corp.com>
This commit is contained in:
trop[bot]
2022-08-03 10:09:54 -04:00
committed by GitHub
parent 1a6d998c34
commit 39d08c3f2a

View File

@@ -141,7 +141,7 @@ void InitElectronLogging(const base::CommandLine& command_line,
: APPEND_TO_OLD_LOG_FILE;
bool success = InitLogging(settings);
if (!success) {
PLOG(FATAL) << "Failed to init logging";
PLOG(ERROR) << "Failed to init logging";
}
SetLogItems(true /* pid */, false, true /* timestamp */, false);