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

Error handler #275

Merged
merged 3 commits into from
Mar 25, 2016
Merged

Error handler #275

merged 3 commits into from
Mar 25, 2016

Conversation

KronicDeth
Copy link
Owner

Changelog

  • Enhancements
    • Custom error handling that will open an issue against https://github.com/KronicDeth/intellij-elixir with the exception messsage and stacktrace filled in.
    • Changed NotImplementedExceptions and (some) asserts to logging custom error message that include the PsiElement text and the containing file as an attachment. The files make the URL too big for the error handler to put the file contents in when opening the browser with the error handler, so the issue body instead explains how to get the attachment text out of IntelliJ's "IDE Fatal Errors"

Issue title is pre-populated with "[auto-generated]" and the body is
filled in with the plugin version, any description the user gave, the
error message and error stacktrace.
Log using LogMessageEx so that the entire file contents can attached,
which is important for these transient bugs that occur during typing as
by the time you see the error happened, the text may be different.
@KronicDeth KronicDeth self-assigned this Mar 25, 2016
@KronicDeth KronicDeth added this to the v2.3.0 milestone Mar 25, 2016
getIncludedAttachments doesn't exist before 2016.1, but in 2016.1,
getAttachments is deprecated, so wrap both in includedAttachments using
reflection.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant