Browse Source

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

Co-authored-by: Jeremy Rose <[email protected]>
trop[bot] 2 years ago
parent
commit
39d08c3f2a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      shell/common/logging.cc

+ 1 - 1
shell/common/logging.cc

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