IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 11, 2006, 4:12:30 PM (20 years ago)
Author:
jhoblitt
Message:

gracefully handle p2PendingFrameSearch() failing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippTools/src/chiptool.c

    r7848 r7864  
    134134    psArray *pendingFrames = p2PendingFrameSearch(config);
    135135    if (!pendingFrames) {
    136         psError(PS_ERR_UNKNOWN, false, "no p2PendingFrames found");
    137         return false;
     136        psErr *err = psErrorLast();
     137        if (strstr(err->msg, "no p2PendingExp rows found")) {
     138            return true;
     139        } else {
     140            psError(PS_ERR_UNKNOWN, false, "no p2PendingFrames found");
     141            return false;
     142        }
    138143    }
    139144    bool status = p2PendingFramePrint(stdout, config, pendingFrames);
Note: See TracChangeset for help on using the changeset viewer.