Diffrent error message for in the job files doesn't exist
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.
#2 Updated by Christopher Green over 9 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 ENDNote 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 ENDIf this does not improve the readability for you, please amend the ticket and it will be addressed.