Skip to content

Commit

Permalink
Specify duplicate component id in initial layout.
Browse files Browse the repository at this point in the history
  • Loading branch information
T4rk1n committed Aug 9, 2018
1 parent 11c4e76 commit 14e8308
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dash/dash.py
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,8 @@ def _validate_layout(self):
component_id = getattr(component, 'id', None)
if component_id and component_id in component_ids:
raise exceptions.DuplicateIdError(
'Duplicate component id found : `{}`'.format(component_id))
'Duplicate component id found'
' in the initial layout: `{}`'.format(component_id))
component_ids.add(component_id)

def _setup_server(self):
Expand Down

0 comments on commit 14e8308

Please sign in to comment.