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:
parent
83d29f6a60
commit
12dea26028
1 changed files with 1 additions and 1 deletions
|
@ -279,7 +279,7 @@ public class GlobalObject extends ImporterTopLevel {
|
|||
|
||||
return Context.toObject(mime, this);
|
||||
} catch (Exception xcept) {
|
||||
System.err.println ("Error in getURL(): "+xcept);
|
||||
app.logEvent("Error getting URL "+location+": "+xcept);
|
||||
}
|
||||
|
||||
return null;
|
||||
|
|
Loading…
Add table
Reference in a new issue