Ignore:
Timestamp:
2014-02-14T16:08:08+01:00 (10 years ago)
Author:
Don-vip
Message:

see #9710 - more debug messages

File:
1 edited

Legend:

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

    r6803 r6852  
    158158            }
    159159            try {
    160                 Main.debug(activeConnection.getHeaderFields().toString());
     160                if (Main.isDebugEnabled()) {
     161                    Main.debug("RESPONSE: "+activeConnection.getHeaderFields());
     162                }
    161163                if (activeConnection.getResponseCode() == HttpURLConnection.HTTP_UNAUTHORIZED)
    162164                    throw new OsmApiException(HttpURLConnection.HTTP_UNAUTHORIZED,null,null);
Note: See TracChangeset for help on using the changeset viewer.