| Issue 38: | use "raise" instead of "exit" | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Sign in to add a comment
|
Apparently explicitly calling "exit" is not the right way to abort a
running ruby script.
modify the script_clean method calls to include an error message like this
script_clean("exit","Error while trying to make #{WORKDIR}")
and have the method something like
# Everything is tidy have we been instructed to exit?
if arg[0] == "exit"
raise RuntimeError, arg[1] , "\n"
end
|
||||||||||
,
Dec 21, 2007
(No comment was entered for this change.)
Labels: -Milestone-Release.6 Milestone-Release-0.6
|
|||||||||||
,
Dec 27, 2007
(No comment was entered for this change.)
Labels: -Milestone-Release-0.6 Milestone-Release-0.7
|
|||||||||||
| ► Sign in to add a comment | |||||||||||