You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi ./wpt run fails to start (for example, if another instance of the server is already running), we get the following stacktrace:
Traceback (most recent call last):
File "/usr/lib64/python3.8/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/lib64/python3.8/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/home/arenevier/src/wpt/tools/serve/serve.py", line 536, in create_daemon
logger.critical(traceback.format_exc())
NameError: name 'logger' is not defined
This is because create_daemon is called in a new python instance, and therefore, global variable logger isn't defined anymore.
The text was updated successfully, but these errors were encountered:
create_daemon is sometimes called in a new python instance, in which
case it looses the reference to global variable logger. When it happens,
we redefine logger with at default value.
Fixes#28245
…testonly
Automatic update from web-platform-tests
serve.py: Define logger if undefined
create_daemon is sometimes called in a new python instance, in which
case it looses the reference to global variable logger. When it happens,
we redefine logger with at default value.
Fixesweb-platform-tests/wpt#28245
--
wpt-commits: b578f56f07749b2fa1a876510f5aea3845d44356
wpt-pr: 28246
Hi ./wpt run fails to start (for example, if another instance of the server is already running), we get the following stacktrace:
This is because create_daemon is called in a new python instance, and therefore, global variable
logger
isn't defined anymore.The text was updated successfully, but these errors were encountered: