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

Avoid NRE in install-from-ckan (fixes #2171) #2205

Merged
merged 1 commit into from
Dec 7, 2017

Conversation

HebaruSan
Copy link
Member

Fixes #2171; see that issue for details. To sum up, loading a .ckan file can raise exceptions, and currently they're not handled well. In Cmdline they are caught by the uncaught exception handler, and in GUI the exception handler itself causes a null reference exception.

Now in both cases we properly print out the error using an IUser reference.

@politas politas merged commit 6702d9a into KSP-CKAN:master Dec 7, 2017
politas added a commit that referenced this pull request Dec 7, 2017
@politas
Copy link
Member

politas commented Dec 7, 2017

Nice work!

@HebaruSan HebaruSan deleted the fix/install-from-crash branch December 7, 2017 13:21
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