Skip to content

Commit

Permalink
[py]: Remove unnecessary exception handling for start_error_message
Browse files Browse the repository at this point in the history
  • Loading branch information
symonk committed Oct 5, 2022
1 parent 3b7295b commit 3918220
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions py/selenium/webdriver/chromium/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ def __init__(
if log_path:
self.service_args.append(f"--log-path={log_path}")

if not start_error_message:
# Todo: Make this a required arg in future.
raise TypeError("`start_error_message` must be provided.")

super().__init__(
executable=executable_path,
port=port,
Expand Down

0 comments on commit 3918220

Please sign in to comment.