Skip to content

Commit da6cd8a

Browse files
committed
do not hide exception details
1 parent f8e0ff5 commit da6cd8a

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@
839839
<dependency>
840840
<groupId>org.maxgamer.storage</groupId>
841841
<artifactId>simplixstorage</artifactId>
842-
<version>3.2.3.1</version>
842+
<version>3.2.3.2</version>
843843
</dependency>
844844
<dependency>
845845
<groupId>de.tr7zw</groupId>

src/main/java/org/maxgamer/quickshop/localization/game/game/distributions/MojangDistribution.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,8 @@ public boolean grabIntoCaches(String url) {
132132
}
133133
requestCachePool.put(url, data);
134134
} catch (IOException e) {
135-
plugin.getLogger().log(Level.WARNING, "Failed to download manifest.json, multi-language system won't work");
135+
e.printStackTrace();
136+
plugin.getLogger().log(Level.WARNING, "Failed to download mojang manifest.json, multi-language system won't work");
136137
return false;
137138
}
138139
return true;

src/main/java/org/maxgamer/quickshop/localization/text/distributions/crowdin/CrowdinOTA.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ public String getManifestJson() {
9595
}
9696
requestCachePool.put(url, data);
9797
} catch (IOException e) {
98+
e.printStackTrace();
9899
plugin.getLogger().log(Level.WARNING, "Failed to download manifest.json, multi-language system won't work");
99100
return null;
100101
}
@@ -211,6 +212,7 @@ public String getFile(String fileCrowdinPath, String crowdinLocale, boolean forc
211212
Files.write(cachedDataFile.toPath(), data.getBytes(StandardCharsets.UTF_8), StandardOpenOption.WRITE, StandardOpenOption.CREATE);
212213
} catch (IOException e) {
213214
plugin.getLogger().log(Level.WARNING, "Failed to download manifest.json, multi-language system may won't work");
215+
e.printStackTrace();
214216
return "";
215217
}
216218
// update cache index

0 commit comments

Comments
 (0)