Ignore:
Timestamp:
2010-01-15T11:29:36+01:00 (14 years ago)
Author:
Gubaer
Message:

fixed #4322: No error message if trying to upload without OAuth token

Location:
trunk/src/org/openstreetmap/josm/io
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/io/OsmConnection.java

    r2801 r2862  
    118118        OAuthAccessTokenHolder holder = OAuthAccessTokenHolder.getInstance();
    119119        if (! holder.containsAccessToken())
    120             throw new OsmTransferException(tr("Failed to add an OAuth authentication header. There is currently no OAuth Access Token configured."));
    121 
     120            throw new MissingOAuthAccessTokenException();
    122121        consumer.setTokenWithSecret(holder.getAccessTokenKey(), holder.getAccessTokenSecret());
    123122        try {
Note: See TracChangeset for help on using the changeset viewer.