mirror of
git://git.yoctoproject.org/poky
synced 2026-08-11 18:59:23 +00:00
bitbake: asyncrpc: Avoid file not found traceback in logs
If the server is quickly stopped, we see tracebacks in the locks due to the file not existing. Hide these as they're not errors. (Bitbake rev: a7e1a07e9ef7e6f6a1bcaf567d7916a8ee1ef087) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
600aaa78c1
commit
6933d4b57e
@ -211,7 +211,10 @@ class UnixStreamServer(StreamServer):
|
||||
self.server.close()
|
||||
|
||||
def cleanup(self):
|
||||
os.unlink(self.path)
|
||||
try:
|
||||
os.unlink(self.path)
|
||||
except FileNotFoundError:
|
||||
pass
|
||||
|
||||
|
||||
class WebsocketsServer(object):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user