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

Personal client exception #831

Merged
merged 2 commits into from
Sep 25, 2018
Merged

Personal client exception #831

merged 2 commits into from
Sep 25, 2018

Conversation

gauravmak
Copy link
Contributor

As per this issue, developers often forget to re-create personal access client after refreshing their migrations.

The error when they try to create a personal access token after that is quite vague: 'Trying to get property of non-object in ClientRepository.php'

This PR adds the code to throw an exception with the clear message in that case.

@taylorotwell taylorotwell merged commit 66db2e7 into laravel:7.0 Sep 25, 2018
@gauravmak gauravmak deleted the personal-client-exception branch September 25, 2018 14:46
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