Skip to content

Commit

Permalink
Don't report errors to be consistent with the rest of the class
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrey Loskutov committed Jan 11, 2024
1 parent b7bcf51 commit 5cb2130
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ private static ContentTypeInfo getContentTypes(final ITextFileBuffer buffer) {
return null;
}
} catch (final CoreException | IOException ex) {
TMUIPlugin.logError(ex);
return null;
}
}
Expand Down Expand Up @@ -224,12 +223,12 @@ private static IEditorInput getEditorInput(final IDocument document) {
return editorInput;
}
} catch (final RuntimeException e) {
e.printStackTrace();
// e.printStackTrace();
}
}
}
} catch (final RuntimeException e) {
e.printStackTrace();
// e.printStackTrace();
}
return null;
}
Expand Down

0 comments on commit 5cb2130

Please sign in to comment.