Project

Profile

Help

Bug #4543

closed

Poor diagnostics when Transform -lib names a non-existent SEF file

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

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

100%

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

Description

When running Transform from the command line, with a -lib option including a file that does not exist, we issue poor diagnostics.

This is because PackageInspector.getPackageDetails() expects an early exit signalled by an XPathException at line 90, and therefore ignores the details of the exception. It should be more selective about the exception it is catching.

Please register to edit this issue

Also available in: Atom PDF