IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 21, 2005, 3:41:30 PM (21 years ago)
Author:
jhoblitt
Message:

add psError() error reporting

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/glueforge/templates/psdb/createtable.tt

    r4337 r4341  
    2626    if (!psMetadataAdd(md, PS_LIST_TAIL, "[% item.name %]", PS_META_BOOL, [% item.comment %], [% item.value %])) {
    2727[% END -%]
    28         // psError(); something bad happened
     28        psError(PS_ERR_UNKNOWN, false, "failed to add item [% item.name %]");
    2929        psFree(md);
    3030        return false;
    3131    }
    3232[% END -%]
     33
    3334    status = psDBCreateTable(dbh, [% namespace FILTER upper %]_TABLE_NAME, md);
     35
    3436    psFree(md);
    3537
Note: See TracChangeset for help on using the changeset viewer.