Subject: | Improve error message |
This message in smokeperl
Cannot copy to out6545271751605391e5f6588265900e7fea1fd0bd.jsn: No such file or directory at ./smokeperl.pl line 341.
Doesn't give me enough to work out what's wrong.
I suggest changing
die "Cannot copy to $archived_jsn: $!"
to
die 'Cannot copy' . catfile($conf->{ddir}, mktest.jsn) . ' to ' . catfile($conf->{adir}, $archived_jsn) . ": $!"