This is an automated email from the ASF dual-hosted git repository. joshtynjala pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/royale-compiler.git
commit ce162e09d66d6a315544fcaaac0551c86aba249b Author: Josh Tynjala <[email protected]> AuthorDate: Thu Oct 31 10:37:09 2024 -0700 formatter: don't print exception multiple times --- .../src/main/java/org/apache/royale/formatter/ASTokenFormatter.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/formatter/src/main/java/org/apache/royale/formatter/ASTokenFormatter.java b/formatter/src/main/java/org/apache/royale/formatter/ASTokenFormatter.java index 259379655..534f77e7a 100644 --- a/formatter/src/main/java/org/apache/royale/formatter/ASTokenFormatter.java +++ b/formatter/src/main/java/org/apache/royale/formatter/ASTokenFormatter.java @@ -184,8 +184,6 @@ public class ASTokenFormatter extends BaseTokenFormatter { return parseTokens(tokens, text, filePath); } catch (Exception e) { if (problems != null) { - System.err.println(e); - e.printStackTrace(System.err); problems.add(new UnexpectedExceptionProblem(e)); } return text;
