Changeset 11 for profileconnection/src


Ignore:
Timestamp:
01/30/20 16:52:38 (4 years ago)
Author:
bart
Message:

Tournament overview table, few bug fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • profileconnection/src/main/java/geniusweb/profileconnection/WebsocketProfileConnector.java

    r10 r11  
    2727        private static final int TIMEOUT_MS = 2000;
    2828        private final Reporter logger;
     29        private final URI uri; // to log possible errors
    2930        private Profile profile = null;
    3031
     
    4647                                        "uri, reporter and wsconnector must be not null");
    4748                }
     49                this.uri = uri;
    4850                this.logger = reporter;
    4951                wscontainer.connectToServer(this, uri);
     
    8183                }
    8284                if (profile == null) {
    83                         throw new IOException("Failed to fetch profile");
     85                        throw new IOException("Failed to fetch profile from " + uri);
    8486                }
    8587                return profile;
Note: See TracChangeset for help on using the changeset viewer.