From 3f5231272614a381685dbc44bacdb275e63a71de Mon Sep 17 00:00:00 2001 From: Keiron Liddle Date: Fri, 10 Aug 2001 08:18:43 +0000 Subject: [PATCH] improved error message a bit if config couldn't be loaded git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194406 13f79535-47bb-0310-9956-ffa450edef68 --- src/org/apache/fop/apps/Options.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/org/apache/fop/apps/Options.java b/src/org/apache/fop/apps/Options.java index a6e16f31b..133dd0c11 100644 --- a/src/org/apache/fop/apps/Options.java +++ b/src/org/apache/fop/apps/Options.java @@ -158,8 +158,9 @@ public class Options { try { reader.start(); } catch (org.apache.fop.apps.FOPException error) { - MessageHandler.errorln("Can't find user configuration file " - + userConfigFile); + MessageHandler.errorln("Could not load user configuration file " + + userConfigFile + " - error: " + + error.getMessage()); MessageHandler.errorln("using default values"); if (errorDump) { reader.dumpError(error); -- 2.39.5