소스 검색

include exception in rethrow

Daniel Nägele 1 년 전
부모
커밋
8e49373334
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      missilewars-plugin/src/main/java/de/butzlabben/missilewars/util/stats/GameProfileBuilder.java

+ 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));
             cache.put(uuid, new CachedProfile(result));
             return result;
             return result;
         } catch (Exception exception) {
         } catch (Exception exception) {
-            throw new IOException("Could not read response: " + json);
+            throw new IOException("Could not read response: " + json, exception);
         }
         }
     }
     }