Prechádzať zdrojové kódy

include exception in rethrow

Daniel Nägele 1 rok pred
rodič
commit
8e49373334

+ 1 - 1
missilewars-plugin/src/main/java/de/butzlabben/missilewars/util/stats/GameProfileBuilder.java

@@ -80,7 +80,7 @@ public class GameProfileBuilder {
             cache.put(uuid, new CachedProfile(result));
             return result;
         } catch (Exception exception) {
-            throw new IOException("Could not read response: " + json);
+            throw new IOException("Could not read response: " + json, exception);
         }
     }