Skip to content

Commit

Permalink
add status to actor error message
Browse files Browse the repository at this point in the history
  • Loading branch information
mrocklin committed Aug 17, 2018
1 parent b4426c2 commit 2fbe005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion distributed/actor.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __getattr__(self, key):
attr = getattr(self._cls, key)

if self._future and not self._future.status == 'finished':
raise ValueError("Worker holding Actor was lost")
raise ValueError("Worker holding Actor was lost. Status: " + self._future.status)

if callable(attr):
@functools.wraps(attr)
Expand Down

0 comments on commit 2fbe005

Please sign in to comment.