9
0
mirror of https://github.com/WiIIiam278/HuskSync.git synced 2025-12-25 17:49:20 +00:00

refactor: catch Throwable, not Exception

This commit is contained in:
William
2023-12-26 12:38:07 +00:00
parent 55173be04b
commit d4f61bd646
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ public class DataDumper {
} else {
return "(Failed to upload to logs site, got: " + connection.getResponseCode() + ")";
}
} catch (Exception e) {
} catch (Throwable e) {
plugin.log(Level.SEVERE, "Failed to upload data to logs site", e);
}
return "(Failed to upload to logs site)";