Skip to content
This repository was archived by the owner on Oct 30, 2023. It is now read-only.

Commit abe99bf

Browse files
nornagonkhalwa
authored andcommitted
fix: fail non-fatally when InitLogging fails (electron#35138)
1 parent 2688e2b commit abe99bf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

shell/common/logging.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void InitElectronLogging(const base::CommandLine& command_line,
141141
: APPEND_TO_OLD_LOG_FILE;
142142
bool success = InitLogging(settings);
143143
if (!success) {
144-
PLOG(FATAL) << "Failed to init logging";
144+
PLOG(ERROR) << "Failed to init logging";
145145
}
146146

147147
SetLogItems(true /* pid */, false, true /* timestamp */, false);

0 commit comments

Comments
 (0)