IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 32393


Ignore:
Timestamp:
Sep 9, 2011, 5:16:44 PM (15 years ago)
Author:
watersc1
Message:

better error messages.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20110622/Nebulous-Server/bin/neb-insedit

    r32382 r32393  
    108108my $N_md5sums = scalar(keys %md5sum_uniq);
    109109if ($N_md5sums != 1) {
    110     die "Cannot modify this instance! storage_object in inconsistent state!";
    111 }
     110    die "Cannot modify this instance! storage_object $key in inconsistent state!";
     111}
     112if ($#files < 1) {
     113    die "Insufficient instances! $key!";
    112114my $test_md5sum = $md5sums[0];
    113115
     
    124126
    125127if ($new_md5sum ne $test_md5sum) {
    126     die "md5sum mismatch with new copy. Exiting!";
     128    die "md5sum mismatch with new copy. $destination_file ($new_md5sum) != $source_file ($test_md5sum) Exiting!";
    127129}
    128130
Note: See TracChangeset for help on using the changeset viewer.