Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix exception message for unavailable model manager name #1805

Merged
merged 1 commit into from
Apr 16, 2015

Conversation

craue
Copy link

@craue craue commented Apr 16, 2015

So instead of You have requested a non-existent parameter "None of the managerParameters resulted in a valid name". the exception message will now be just None of the managerParameters resulted in a valid name..

Let me know if InvalidArgumentException doesn't fit here.

@stof
Copy link
Member

stof commented Apr 16, 2015

I would just use the exception from the SPL instead of the special one from the DI component

@craue
Copy link
Author

craue commented Apr 16, 2015

Done.

@stof
Copy link
Member

stof commented Apr 16, 2015

Good catch, thanks @craue.

@stof stof merged commit 6851f1a into FriendsOfSymfony:master Apr 16, 2015
stof added a commit that referenced this pull request Apr 16, 2015
…(craue)

This PR was merged into the 2.0.x-dev branch.

Discussion
----------

fix exception message for unavailable model manager name

So instead of `You have requested a non-existent parameter "None of the managerParameters resulted in a valid name".` the exception message will now be just `None of the managerParameters resulted in a valid name.`.

Let me know if `InvalidArgumentException` doesn't fit here.

Commits
-------

6851f1a fixed exception message for unavailable model manager name
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