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: fix detect of ErrKeyNotFound error on non-english windows system #79

Merged
merged 1 commit into from Mar 24, 2021

Conversation

Alexey19
Copy link

@Alexey19 Alexey19 commented Mar 5, 2021

On german OS error looks like "Element nicht gefunden.", so comparison

		if err.Error() == "Element not found." {

is false. I fixed code to use localized system message.

@Alexey19
Copy link
Author

@mtibben, can you check pull-request?

wincred.go Show resolved Hide resolved
@Alexey19
Copy link
Author

@mtibben , added comment

@mtibben mtibben merged commit d9b6b92 into 99designs:master Mar 24, 2021
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

2 participants