Project

General

Profile

Idea #1058

Diffrent error message for in the job files doesn't exist

Added by Jarek Nowak over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Infrastructure
Target version:
Start date:
03/08/2011
Due date:
% Done:

100%

Estimated time:
Experiment:
-
SSI Package:
Duration:

Description

I would like to request a different error message when the job fhicl doesn't exist.

A few times I misspelled the name of such a file and got

Failed to parse the configuration file 'canjob.fcl' with exception ---- search_path BEGIN
Can't find file "canjob.fcl"
---- search_path END

It would be useful to print out an information that the file doesn't exist.

History

#1 Updated by Jarek Nowak over 8 years ago

It was pointed to me that the requested information exists.

#2 Updated by Christopher Green over 8 years ago

  • Category set to Infrastructure
  • Status changed from New to Resolved
  • Assignee set to Christopher Green
  • Target version set to 0.06.00
  • % Done changed from 0 to 100

While you are correct that the requested information is there, I have changed the format of the message to (hopefully) be more readable:

Failed to parse the configuration file 'canjob.fcl' with exception:
---- search_path BEGIN
  Can't find file "canjob.fcl" 
---- search_path END
Note that the exception text starts on a new line, and the body of the exception is indented by two characters. In the case of nested exceptions (which this particular example is not) the indenting will behave as expected:
---- Outer BEGIN
  ---- Inner BEGIN
    Inner exception message.
  ---- Inner END
  Outer exception message.
---- Outer END
If this does not improve the readability for you, please amend the ticket and it will be addressed.

#3 Updated by Christopher Green over 8 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF