-
Notifications
You must be signed in to change notification settings - Fork 43
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
org.eclipse.swtchart.extensions bundle activation prints unnecessary exception to syserr #380
Comments
tvlehton
added a commit
to tvlehton/swtchart
that referenced
this issue
Jan 29, 2024
No exception printing when ~/.eclipseswtchartsettings does not exist.
tvlehton
added a commit
to tvlehton/swtchart
that referenced
this issue
Jan 29, 2024
No exception printing when ~/.eclipseswtchartsettings does not exist. Signed-off-by: Tuukka Lehtonen <[email protected]>
This is still a problem flathub/com.lablicate.OpenChrom#9. The error message is really spammy. You can't see anything else printed before because it repeats so many times. |
Mailaender
added a commit
to Mailaender/swtchart
that referenced
this issue
Jul 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Every time bundle
org.eclipse.swtchart.extensions
is activated, it will print out the following exception stack trace for failed loading of.eclipseswtchartsettings
from the user's home directory.The print comes from https://github.com/eclipse/swtchart/blame/9b90a7cf89cfabb37bb977fe4b24d13f56880d52/org.eclipse.swtchart.extensions/src/org/eclipse/swtchart/extensions/core/ResourceSupport.java#L117 and it was introduced in cce835a of #280.
Expected outcome
I personally feel that it is pointless to print the exception stack trace when the file does not exist, i.e. upon
FileNotFoundException
, as seen in the stack trace above. Any otherIOException
is probably worth printing out.The text was updated successfully, but these errors were encountered: