mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: fail non-fatally when InitLogging fails (#35190)
Co-authored-by: Jeremy Rose <japthorp@slack-corp.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user