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

This commit is contained in:
Jeremy Rose 2022-08-02 12:45:30 -07:00 committed by GitHub
parent 53cd23159e
commit 3d4d1b33ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);