IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 11, 2007, 4:53:01 PM (19 years ago)
Author:
eugene
Message:

error mods

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStats/src/ppStatsStandAlone.c

    r10983 r11057  
    4343            if (!outFile) {
    4444                psLogMsg("ppStats", PS_LOG_ERROR, "Unable to open output file %s\n", outName);
    45                 status = PS_EXIT_DATA_ERROR;
     45                // XXX this could be a system or config error, but not a data error
     46                status = PS_EXIT_CONFIG_ERROR;
    4647                goto die;
    4748            }
    4849        } else {
    4950            psLogMsg("ppStats", PS_LOG_ERROR, "Unable to open output file.\n");
    50             status = PS_EXIT_DATA_ERROR;
     51            status = PS_EXIT_CONFIG_ERROR;
    5152            goto die;
    5253        }
     
    5556    // Go through the FPA and do the hard work
    5657    psMetadata *results = ppStatsLoop(NULL, data, config);
    57 
    5858    if (psListLength(results->list) == 0) {
    5959        psLogMsg("ppStats", PS_LOG_ERROR, "No output.\n");
    6060        psFree(results);
    61         status = PS_EXIT_UNKNOWN_ERROR;
     61        status = PS_EXIT_DATA_ERROR;
    6262        goto die;
    6363    }
     
    6868        psLogMsg("ppStats", PS_LOG_ERROR, "Unable to generate configuration file with result.\n");
    6969        psFree(results);
    70         status = PS_EXIT_SYS_ERROR;
     70        status = PS_EXIT_CONFIG_ERROR;
    7171        goto die;
    7272    }
Note: See TracChangeset for help on using the changeset viewer.