Skip to content

Commit

Permalink
chore(modeling): fix error message
Browse files Browse the repository at this point in the history
  • Loading branch information
philippfromme authored and nikku committed Nov 18, 2019
1 parent 306761b commit b01caec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/features/modeling/cmd/ReconnectConnectionHandler.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ReconnectConnectionHandler.prototype.execute = function(context) {
dockingOrPoints = context.dockingOrPoints;

if (!newSource && !newTarget) {
throw new Error('new source or target is required');
throw new Error('newSource or newTarget required');
}

if (isArray(dockingOrPoints)) {
Expand Down

0 comments on commit b01caec

Please sign in to comment.