Skip to content

Commit

Permalink
use phetioID in message, #322 phetsims/sun#615
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Aug 14, 2020
1 parent c9a14b2 commit 96dce78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/Property.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class Property extends PhetioObject {
'phetioType parameter type must be specified (only one). Tandem.phetioID: ' + this.tandem.phetioID );
}
assert && assert( !options.tandem.supplied || options.tandem.name.endsWith( 'Property' ),
`Property tandem.name must end with Property: ${options.tandem}` );
`Property tandem.name must end with Property: ${options.tandem.phetioID}` );

// @private - Store the internal value and the initial value
this._value = value;
Expand Down

0 comments on commit 96dce78

Please sign in to comment.