Skip to content

Commit f591ae5

Browse files
committed
Specify duplicate component id in initial layout.
1 parent e190768 commit f591ae5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dash/dash.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -859,7 +859,8 @@ def _validate_layout(self):
859859
component_id = getattr(component, 'id', None)
860860
if component_id and component_id in component_ids:
861861
raise exceptions.DuplicateIdError(
862-
'Duplicate component id found : `{}`'.format(component_id))
862+
'Duplicate component id found'
863+
' in the initial layout: `{}`'.format(component_id))
863864
component_ids.add(component_id)
864865

865866
def _setup_server(self):

0 commit comments

Comments
 (0)