Changeset 11 for profileconnection


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

Tournament overview table, few bug fixes

Location:
profileconnection
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • profileconnection/pom.xml

    r9 r11  
    66        <groupId>geniusweb</groupId>
    77        <artifactId>profileconnection</artifactId>
    8         <version>1.1.0</version>
     8        <version>1.2.0</version>
    99        <packaging>jar</packaging>
    1010
     
    3131                        <groupId>geniusweb</groupId>
    3232                        <artifactId>profile</artifactId>
    33                         <version>1.1.0</version>
     33                        <version>1.2.0</version>
    3434                </dependency>
    3535
  • 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.