Skip to content

Commit 1075a5b

Browse files
CiiLuCopilot
andauthored
Update HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/Versions.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent ca4a4cf commit 1075a5b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/Versions.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ public static void resetVersion(Profile profile, String id) {
286286
try {
287287
Files.writeString(jsonPath, finalJson);
288288
} catch (IOException ex) {
289-
LOG.warning("Unable to write json", e);
289+
LOG.warning("Unable to write json", ex);
290290
}
291291

292292
LOG.warning("Unable to reset instance", e);

0 commit comments

Comments
 (0)