Skip to content

More informative message if name of unattached component is not available - #5

Merged
dg merged 1 commit into
nette:masterfrom
mabar:patch-1
Jan 4, 2019
Merged

dg merged 1 commit into
nette:masterfrom
mabar:patch-1

Conversation

@mabar

@mabar mabar commented Jan 4, 2019

Copy link
Copy Markdown
Contributor
  • new feature
  • BC break? no
  • doc PR: not needed

Every single time I see component is not attached it is exactly Component '' is not attached to 'Nette\Application\UI\Presenter'..

...which component?

With proposed change it would at least inform about type of unattached component.
Component of type 'Foo\Bar\Baz' is not attached to 'Nette\Application\UI\Presenter'.

@dg

dg commented Jan 4, 2019

Copy link
Copy Markdown
Member

Thanks

@dg
dg merged commit 89dd693 into nette:master Jan 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants