Project

Profile

Help

Bug #4726

closed

Warning on pattern-matching error doesn't say what the error is

Added by Michael Kay over 3 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Diagnostics
Sprint/Milestone:
-
Start date:
2020-09-05
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
10, trunk
Fix Committed on Branch:
10, trunk
Fixed in Maintenance Release:
Platforms:

Description

At Pattern.handleDynamicError():

context.getController().warning("An error occurred matching pattern {" + this + "}: ",
                                        ex.getErrorCodeQName().getEQName(),
                                        getLocation());

This should include the value of ex.getMessage() in the warning message.

Please register to edit this issue

Also available in: Atom PDF