Project

General

Profile

Actions

action #12038

closed

[easy hack] clone_job.pl: improve error message on wrong job-number/host combination

Added by okurz over 8 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
Regressions/Crashes
Target version:
Start date:
2016-05-18
Due date:
% Done:

0%

Estimated time:

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

Actions #1

Updated by okurz almost 8 years ago

  • 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
Actions #2

Updated by okurz almost 8 years ago

  • Target version changed from Milestone 6 to Milestone 7
Actions #3

Updated by mkittler almost 8 years ago

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?

Actions #4

Updated by okurz over 7 years ago

  • 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.

Actions

Also available in: Atom PDF