* Show the input bindings in evaluation error messages.
[?]
Mar 20, 2009, 5:06 PM
GA6XIXAN4B7KMTOELWUCRBU6XDTZCYFLKUGNSUH4SND3EYWKHMJQCDependencies
- [2]
QE253KG4* Option to show the tail of a log. - [3]
SHZLOM5M* eval-jobs -> hydra_eval_jobs. - [4]
S5PV6IIM* Represent jobs explicitly in the DB. - [*]
N22GPKYT* Put info about logs / build products in the DB.
Change contents
- replacement in src/script/hydra_scheduler.pl at line 414
$msg .= "at `" . $error->{location} . "': " . $error->{msg} . "\n\n";my $bindings = "";foreach my $arg (@{$error->{arg}}) {my $input = $inputInfo->{$arg->{name}}->[$arg->{altnr}] or die "invalid input";$bindings .= ", " if $bindings ne "";$bindings .= $arg->{name} . " = ";given ($input->{type}) {when ("string") { $bindings .= "\"" . $input->{value} . "\""; }when ("boolean") { $bindings .= $input->{value}; }default { $bindings .= "..."; }}}$msg .= "at `" . $error->{location} . "' [$bindings]:\n" . $error->{msg} . "\n\n";