Added debug information

This commit is contained in:
Anton Hvornum 2022-02-12 18:20:58 +01:00
parent de4efc0011
commit dbf4d3ec82
No known key found for this signature in database
GPG Key ID: F1234C5BA67C59DF
1 changed files with 1 additions and 1 deletions

View File

@ -338,7 +338,7 @@ class SysCommandWorker:
self._trace_log += output
except OSError as error:
self.ended = time.time()
print(f'Got [OSError]: {error}')
self.exit_code = os.waitpid(self.pid, 0)[1]
break
if pid_exists(self.pid) is False: