IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 11403


Ignore:
Timestamp:
Jan 29, 2007, 2:54:06 PM (19 years ago)
Author:
Paul Price
Message:

Don't fail on missing DATABASE.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsRead.c

    r11244 r11403  
    361361    #ifndef HAVE_PSDB
    362362
    363     return false;
     363    return true;
    364364    #else
    365365
     
    373373    psMetadata *dbSpec = psMetadataLookupMetadata(&mdok, cameraFormat, "DATABASE"); // The DATABASE spec
    374374    if (!mdok || !dbSpec) {
    375         psError(PS_ERR_IO, true, "Unable to find DATABASE in camera configuration.\n");
    376         return false;
     375        psWarning("Unable to find DATABASE in camera format configuration --- assuming none to read.\n");
     376        return true;
    377377    }
    378378
Note: See TracChangeset for help on using the changeset viewer.