IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39327


Ignore:
Timestamp:
Feb 4, 2016, 4:55:58 PM (10 years ago)
Author:
eugene
Message:

add some verbosity for error cases

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libdvo/src/dvo_catalog_split.c

    r39320 r39327  
    378378      status = dvo_catalog_open_subcat (catalog, &catalog[0].FIELD##_catalog, ftable.header, #NAME, VERBOSE); \
    379379      if (status == DVO_CAT_OPEN_FAIL) {                                \
     380        if (VERBOSE) fprintf (stderr, "can't open subcat file for %s\n", #NAME); \
    380381        return (FALSE);                                                 \
    381382      }                                                                 \
    382383      if ((status == DVO_CAT_OPEN_EMPTY) && (catalog[0].N##FIELD##_disk > 0)) { \
     384        if (VERBOSE) fprintf (stderr, "metadata mismatch for %s\n", #NAME); \
    383385        return (FALSE);                                                 \
    384386      }                                                                 \
Note: See TracChangeset for help on using the changeset viewer.