Index: /trunk/src/org/openstreetmap/josm/io/OsmConnection.java
===================================================================
--- /trunk/src/org/openstreetmap/josm/io/OsmConnection.java	(revision 10236)
+++ /trunk/src/org/openstreetmap/josm/io/OsmConnection.java	(revision 10237)
@@ -17,4 +17,6 @@
 import java.util.concurrent.FutureTask;
 
+import javax.swing.SwingUtilities;
+
 import org.openstreetmap.josm.Main;
 import org.openstreetmap.josm.data.oauth.OAuthParameters;
@@ -26,10 +28,8 @@
 import org.openstreetmap.josm.tools.Base64;
 import org.openstreetmap.josm.tools.HttpClient;
+import org.openstreetmap.josm.tools.Utils;
 
 import oauth.signpost.OAuthConsumer;
 import oauth.signpost.exception.OAuthException;
-import org.openstreetmap.josm.tools.Utils;
-
-import javax.swing.SwingUtilities;
 
 /**
@@ -151,5 +151,5 @@
             }
         } catch (MalformedURLException | InterruptedException | InvocationTargetException e) {
-            throw new MissingOAuthAccessTokenException();
+            throw new MissingOAuthAccessTokenException(e);
         }
     }
