Skip to content

Commit

Permalink
Have client print result.
Browse files Browse the repository at this point in the history
This means even if returning results goes horribly wrong, perhaps
the user will still be able to fetch them from the GridEngine output files.
  • Loading branch information
adamgreig committed Mar 21, 2014
1 parent 928f76d commit 700a769
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sheepdog/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ def run(self):
raise RuntimeError("Must call `get_details` before `run`.")
try:
self.result = self.func(*self.args)
print(self.result)
except:
self._submit_error(traceback.format_exc())

Expand Down

0 comments on commit 700a769

Please sign in to comment.