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 committed Nov 14, 2019
1 parent 441161b commit 156f90f
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 156f90f

Please sign in to comment.