Merge pull request #18897 from 2beaucoup/omit-parser-stacktrace
Don't print parsing exception stackstraces to the console
This commit is contained in:
commit
bdafae9d48
1 changed files with 0 additions and 1 deletions
|
|
@ -214,7 +214,6 @@ abstract class Parser(initialValueStackSize: Int = 16,
|
|||
val pos = Position(cursor, input)
|
||||
scheme.parseError(ParseError(pos, pos, RuleTrace(Nil, RuleTrace.Fail(e.expected)) :: Nil))
|
||||
case NonFatal(e) ⇒
|
||||
e.printStackTrace()
|
||||
scheme.failure(e)
|
||||
} finally {
|
||||
phase = null
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue