Skip to content

improved exception message#330

Merged
asm89 merged 1 commit intodoctrine:masterfrom
schmittjoh:betterExMessage
May 4, 2012
Merged

improved exception message#330
asm89 merged 1 commit intodoctrine:masterfrom
schmittjoh:betterExMessage

Conversation

@schmittjoh
Copy link
Member

This makes the exception message more helpful. Before you were basically searching a needle in a haystack.

Note that I haven't been able to run the tests because I don't have PHPUnit 3.6 atm, so please check before merging.

@beberlei
Copy link
Member

beberlei commented Apr 7, 2012

There is a test for this exception that will break after the message change. Can you upate tests/Doctrine/Tests/ORM/Mapping/ClassMetadataTest.php? Its the last test.

@asm89
Copy link
Member

asm89 commented May 4, 2012

ping @schmittjoh

@schmittjoh
Copy link
Member Author

If someone who has the test suite setup could quickly update the message, I'd appreciate that.

As I said, I can't run it atm.

@asm89 asm89 merged commit 84ec6dc into doctrine:master May 4, 2012
@asm89
Copy link
Member

asm89 commented May 4, 2012

👍 done

@schmittjoh
Copy link
Member Author

Thanks!

On Fri, May 4, 2012 at 11:26 AM, Alexander <
reply@reply.github.com

wrote:

👍 done


Reply to this email directly or view it on GitHub:
#330 (comment)

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.

3 participants