Skip to content

Commit

Permalink
made errors better
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankEnderman committed Oct 30, 2021
1 parent d4b81e4 commit cb335a2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions headless/app/headless_shell.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand All @@ -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;
}
Expand All @@ -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;
}
Expand Down

0 comments on commit cb335a2

Please sign in to comment.