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

Made type error more clear in ACF loading #7

Merged
merged 1 commit into from
Aug 23, 2017
Merged

Conversation

NullSoldier
Copy link
Contributor

I was checking my logs and a user ran into this exception but I have no idea why as I'm using Python3 and pass something should be clearly a string.

Since this already throws an exception I feel like it could be slightly more helpful to the user.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 96.622% when pulling 9c6a616 on NullSoldier:errors into 13d9bb5 on leovp:master.

1 similar comment
@coveralls
Copy link

coveralls commented Aug 23, 2017

Coverage Status

Coverage remained the same at 96.622% when pulling 9c6a616 on NullSoldier:errors into 13d9bb5 on leovp:master.

@leovp
Copy link
Owner

leovp commented Aug 23, 2017

@NullSoldier can you change TypeError message in a couple other places too, so that they behave the same across the library?

@NullSoldier
Copy link
Contributor Author

Will do that shortly.

@NullSoldier
Copy link
Contributor Author

NullSoldier commented Aug 23, 2017

Modified and squashed. I could have created a TypeMismatch exception that did this type of message but I think most people expect a TypeError specifically and you'd have to bump the major version. I think this is simple enough.

@leovp
Copy link
Owner

leovp commented Aug 23, 2017

Looks great.

@leovp leovp merged commit f625678 into leovp:master Aug 23, 2017
@coveralls
Copy link

coveralls commented Aug 23, 2017

Coverage Status

Coverage remained the same at 96.622% when pulling 3ec1d39 on NullSoldier:errors into 13d9bb5 on leovp:master.

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.

None yet

3 participants