From cb335a27559572d5189fe8dbff52beaf6bf1ebc8 Mon Sep 17 00:00:00 2001 From: Frank Enderman <90335574+FrankEnderman@users.noreply.github.com> Date: Sat, 30 Oct 2021 17:26:38 +0530 Subject: [PATCH] made errors better --- headless/app/headless_shell.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/headless/app/headless_shell.cc b/headless/app/headless_shell.cc index 23e2c6da7077a9..5942000ed061a7 100644 --- a/headless/app/headless_shell.cc +++ b/headless/app/headless_shell.cc @@ -182,7 +182,7 @@ bool ValidateCommandLine(const base::CommandLine& command_line) { if (command_line.GetArgs().size() <= 1) return true; LOG(ERROR) << "Open multiple tabs is only supported when " - << "remote debugging is enabled."; + << "remote debugging is on."; return false; } if (command_line.HasSwitch(switches::kDefaultBackgroundColor)) { @@ -195,7 +195,7 @@ bool ValidateCommandLine(const base::CommandLine& command_line) { return false; } if (command_line.HasSwitch(switches::kPrintToPDF)) { - LOG(ERROR) << "Print to PDF is disabled " + LOG(ERROR) << "Print to .PDF is disabled " << "when remote debugging is enabled."; return false; } @@ -205,7 +205,7 @@ bool ValidateCommandLine(const base::CommandLine& command_line) { return false; } if (command_line.HasSwitch(switches::kScreenshot)) { - LOG(ERROR) << "Capture screenshot is disabled " + LOG(ERROR) << "Make screenshot is disabled " << "when remote debugging is enabled."; return false; }