IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 24, 2010, 2:57:57 PM (16 years ago)
Author:
Paul Price
Message:

Being better about errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psastro/src/psastroDataSave.c

    r23753 r27065  
    9292        pmConfigRecipesCull(config, "PPIMAGE,PPSTATS,PSPHOT,MASKS,PSASTRO");
    9393
    94         pmConfigDump(config, dump_file);
     94        if (!pmConfigDump(config, dump_file)) {
     95            psError(psErrorCodeLast(), false, "Unable to dump configuration.");
     96            psFree(view);
     97            return false;
     98        }
    9599    }
    96100
     
    100104
    101105    psFree (view);
     106
    102107    return true;
    103108}
Note: See TracChangeset for help on using the changeset viewer.