IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 18, 2010, 6:42:01 PM (16 years ago)
Author:
Paul Price
Message:

Reworked ppStack to be better about error codes and their translation to exit codes.

Location:
trunk/ppStack/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src

    • Property svn:ignore
      •  

        old new  
        1010stamp-h1
        1111ppStackVersionDefinitions.h
         12ppStackErrorCodes.c
         13ppStackErrorCodes.h
  • trunk/ppStack/src/ppStackCombineFinal.c

    r26184 r27004  
    3131        if (!status) {
    3232            // Something went wrong
    33             psError(PS_ERR_UNKNOWN, false, "Unable to read chunk %d", numChunk);
     33            psError(psErrorCodeLast(), false, "Unable to read chunk %d", numChunk);
    3434            return false;
    3535        }
     
    5555
    5656    if (!psThreadPoolWait(true)) {
    57         psError(PS_ERR_UNKNOWN, false, "Unable to do final combination.");
     57        psError(psErrorCodeLast(), false, "Unable to do final combination.");
    5858        return false;
    5959    }
     
    126126    pmHDU *hdu = pmHDUFromCell(target->parent);
    127127    if (!hdu) {
    128         psError(PS_ERR_UNKNOWN, false, "Unable to find HDU for output.");
     128        psError(PPSTACK_ERR_PROG, false, "Unable to find HDU for output.");
    129129        return false;
    130130    }
Note: See TracChangeset for help on using the changeset viewer.