Project

General

Profile

Bug #6507

Milestone #6691: Improve error reporting in client

Need user friendly message if job exe is not found

Added by Parag Mhashilkar almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
06/17/2014
Due date:
07/30/2014
% Done:

100%

Estimated time:
Spent time:
First Occurred:
Occurs In:
Stakeholders:
Duration: 44

Description

If the client cannot find job exe it raises an exception. Though this is good for debugging, clients should not see the exceptions otherwise. We should wrap the errors/exceptions cleanly, print helpful message and exit.

            if not os.path.exists(self.jobExe):
                err="file %s not found. Exiting" % self.jobExe
                raise JobSubClientError(err)

History

#1 Updated by Dennis Box almost 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

see branch 6507

#2 Updated by Parag Mhashilkar almost 5 years ago

  • Parent task set to #6691

#3 Updated by Parag Mhashilkar almost 5 years ago

  • Status changed from Resolved to Closed

#4 Updated by Parag Mhashilkar almost 5 years ago

  • Due date set to 07/30/2014


Also available in: Atom PDF