IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 4, 2007, 10:57:53 AM (19 years ago)
Author:
eugene
Message:

dump and clear error stack when ignoring a known error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfig.c

    r15385 r15446  
    661661            if (!cameraReadFormats(item->data.md, item->name)) {
    662662                psWarning("Unable to read formats for camera %s: removed.\n", item->name);
     663                psErrorStackPrint(stderr, "errors from read failure\n");
     664                psErrorClear();
    663665                psMetadataRemoveKey(cameras, item->name);
     666                continue;
    664667            }
    665668            if (!cameraReadCalibrations(item->data.md, item->name)) {
    666669                psWarning("Unable to read calibrations for camera %s: removed.\n", item->name);
     670                psErrorStackPrint(stderr, "errors from read failure\n");
     671                psErrorClear();
    667672                psMetadataRemoveKey(cameras, item->name);
     673                continue;
    668674            }
    669675        }
Note: See TracChangeset for help on using the changeset viewer.