IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 6, 2007, 2:10:36 PM (19 years ago)
Author:
Paul Price
Message:

Adding ability to determine whether a concept is required or not, and using this ability to downgrade errors into warnings.

File:
1 edited

Legend:

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

    r11865 r12285  
    7676    }
    7777    if (!parsed) {
    78         psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to parse concept %s\n", spec->blank->name);
    79         return false;
     78        if (spec->required) {
     79            psError(PS_ERR_UNEXPECTED_NULL, false, "Unable to parse concept %s\n", spec->blank->name);
     80            return false;
     81        } else {
     82            psWarning("Unable to parse concept %s, but concept not marked as required.\n", spec->blank->name);
     83            psErrorClear();
     84        }
    8085    }
    8186
Note: See TracChangeset for help on using the changeset viewer.