Skip to content

Commit

Permalink
Tweak error text.
Browse files Browse the repository at this point in the history
  • Loading branch information
null-a committed Mar 3, 2017
1 parent bb56b2e commit 35526be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/params/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ module.exports = function(env) {
var valDims = ad.value(val).dims;
if (!_.isEqual(dims, valDims)) {
var msg = 'The dims specified here (' + JSON.stringify(dims) +
') do not match the dims of the current value (' +
JSON.stringify(valDims) + '). The current value may ' +
') do not match the dims of the current parameter value (' +
JSON.stringify(valDims) + '). This value may ' +
'come from an earlier call to param, or from a previous ' +
'execution when a persistent parameter store is used.';
throw new Error(msg);
Expand Down

0 comments on commit 35526be

Please sign in to comment.