Skip to content

Commit

Permalink
fix: fail non-fatally when InitLogging fails (#35190)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremy Rose <japthorp@slack-corp.com>
  • Loading branch information
trop[bot] and nornagon committed Aug 3, 2022
1 parent 1a6d998 commit 39d08c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/common/logging.cc
Expand Up @@ -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);
Expand Down

0 comments on commit 39d08c3

Please sign in to comment.