action #12038
closed
[easy hack] clone_job.pl: improve error message on wrong job-number/host combination
Added by okurz almost 8 years ago.
Updated about 7 years ago.
Category:
Regressions/Crashes
Description
observation¶
Calling clone_job with a non-existing job-number or wrong host yields error message
Can't use an undefined value as a HASH reference at /usr/share/openqa/script/clone_job.pl line 226.
suggestion¶
Give a better error message
- Subject changed from clone_job.pl: improve error message on wrong job-number/host combination to [easy hack] clone_job.pl: improve error message on wrong job-number/host combination
- Category set to Regressions/Crashes
- Target version set to Milestone 6
- Target version changed from Milestone 6 to Milestone 7
I'm getting failed to get job: 404 Not Found at ./script/clone_job.pl line 197.
when the job can not be found and failed to get job: Can't connect: Der Name oder der Dienst ist nicht bekannt at ./script/clone_job.pl line 197.
when the server can not be found. This can still be improved but is ok. Maybe the error in your case is printed for another reason?
- Status changed from New to Resolved
right, I can confirm. Thank you for crosschecking. Let's assume something fixed it because code was changed since then.
Also available in: Atom
PDF