Improve error message in getURL(): send it to the application's event log and

include the URL which caused the exception.
This commit is contained in:
hns 2004-03-03 15:28:31 +00:00
parent 83d29f6a60
commit 12dea26028

View file

@ -279,7 +279,7 @@ public class GlobalObject extends ImporterTopLevel {
return Context.toObject(mime, this); return Context.toObject(mime, this);
} catch (Exception xcept) { } catch (Exception xcept) {
System.err.println ("Error in getURL(): "+xcept); app.logEvent("Error getting URL "+location+": "+xcept);
} }
return null; return null;