Skip to content

Commit

Permalink
Add error messages when unique ID is not unique.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Jan 18, 2019
1 parent 1ecbac4 commit 11c3637
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private PanelItem createButton(Button button)
}
else
{
// TODO: Throw message that uniqueID is not valid.
this.user.sendMessage("challenges.errors.unique-id", "[id]", reply);
this.build();
}

Expand Down Expand Up @@ -243,7 +243,7 @@ private PanelItem createButton(Button button)
}
else
{
// TODO: Throw message that uniqueID is not valid.
this.user.sendMessage("challenges.errors.unique-id", "[id]", reply);
this.build();
}

Expand Down

0 comments on commit 11c3637

Please sign in to comment.