You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@daffodil.apache.org by GitBox <gi...@apache.org> on 2019/04/22 19:39:37 UTC

[GitHub] [incubator-daffodil] bsloane1650 commented on a change in pull request #201: Fix bug in handling parse errors

bsloane1650 commented on a change in pull request #201: Fix bug in handling parse errors
URL: https://github.com/apache/incubator-daffodil/pull/201#discussion_r277408855
 
 

 ##########
 File path: daffodil-runtime1/src/main/scala/org/apache/daffodil/processors/ProcessingError.scala
 ##########
 @@ -47,7 +47,7 @@ abstract class ProcessingError protected (
    * looks like the same as other parse errors to tests that search for the
    * "Parse Error" string.
    */
-  def toParseError = new ParseError(schemaContext, dataContext, Maybe(this), maybeFormatString, args: _*)
+  def toParseError = new ParseError(schemaContext, dataContext, maybeCause, maybeFormatString, args: _*)
 
 Review comment:
   Updated PR.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services