Index: applications/editors/josm/plugins/DirectDownload/src/org/openstreetmap/josm/plugins/directdownload/DownloadDataGui.java
===================================================================
--- applications/editors/josm/plugins/DirectDownload/src/org/openstreetmap/josm/plugins/directdownload/DownloadDataGui.java	(revision 30197)
+++ applications/editors/josm/plugins/DirectDownload/src/org/openstreetmap/josm/plugins/directdownload/DownloadDataGui.java	(revision 30532)
@@ -128,10 +128,14 @@
             return handler.getResult();
         } catch (java.net.MalformedURLException e) {
+            Main.error(e);
             JOptionPane.showMessageDialog(null, tr("Invalid URL {0}", urlString));
         } catch (java.io.IOException e) {
+            Main.error(e);
             JOptionPane.showMessageDialog(null, tr("Error fetching URL {0}", urlString));
         } catch (SAXException e) {
+            Main.error(e);
             JOptionPane.showMessageDialog(null, tr("Error parsing data from URL {0}", urlString));
-        } catch(ParserConfigurationException pce) {
+        } catch (ParserConfigurationException e) {
+            Main.error(e);
             JOptionPane.showMessageDialog(null, tr("Error parsing data from URL {0}", urlString));
         }
