IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10707 for trunk/psLib


Ignore:
Timestamp:
Dec 13, 2006, 6:46:45 PM (20 years ago)
Author:
jhoblitt
Message:

change psMetadataAddItem() to report the key name when failing on duplicate key names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psMetadata.c

    r9754 r10707  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.146 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2006-10-27 01:09:50 $
     14 *  @version $Revision: 1.147 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2006-12-14 04:46:45 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    600600            }
    601601            psError(PS_ERR_BAD_PARAMETER_VALUE, true,
    602                     _("Duplicate metadata item name is not allowed.  "
    603                       "Use a psMetadataFlags option to allow such action."));
     602                    _("Duplicate metadata item name: %s is not allowed.  "
     603                      "Use a psMetadataFlags option to allow such action."), item->name);
    604604            return false;
    605605        }
Note: See TracChangeset for help on using the changeset viewer.