diff options
author | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-12-17 20:38:17 +0100 |
---|---|---|
committer | Giampaolo Rodola' <g.rodola@gmail.com> | 2013-12-17 20:38:17 +0100 |
commit | d47993e2652b8f51f891566f49e660190b2e540d (patch) | |
tree | dcd7185f50554f9122a6ba3e6d6566b3fb7cbb9d /psutil/_pssunos.py | |
parent | 996b67bc1dc227962cbe16249b1710ba414d8be0 (diff) | |
download | psutil-d47993e2652b8f51f891566f49e660190b2e540d.tar.gz |
TimeoutExpired exception: pass the original timeout so that the error message is more informative
Diffstat (limited to 'psutil/_pssunos.py')
-rw-r--r-- | psutil/_pssunos.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/psutil/_pssunos.py b/psutil/_pssunos.py index 41fe5e46..f7793485 100644 --- a/psutil/_pssunos.py +++ b/psutil/_pssunos.py @@ -504,4 +504,4 @@ class Process(object): try: return _psposix.wait_pid(self.pid, timeout) except TimeoutExpired: - raise TimeoutExpired(self.pid, self._process_name) + raise TimeoutExpired(timeout, self.pid, self._process_name) |