diff options
author | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-02-17 00:09:56 +0000 |
---|---|---|
committer | Nathan Adams <dinnerbone@dinnerbone.com> | 2012-02-17 00:09:56 +0000 |
commit | d057ee1e07987bd98c6bd3f6443aec9bff276f1c (patch) | |
tree | 20ddbafde92e1595898356dcf8c6cd86c914d6bd | |
parent | 236cfed61631352e9394632d80409cac62f31cc3 (diff) | |
download | craftbukkit-d057ee1e07987bd98c6bd3f6443aec9bff276f1c.tar craftbukkit-d057ee1e07987bd98c6bd3f6443aec9bff276f1c.tar.gz craftbukkit-d057ee1e07987bd98c6bd3f6443aec9bff276f1c.tar.lz craftbukkit-d057ee1e07987bd98c6bd3f6443aec9bff276f1c.tar.xz craftbukkit-d057ee1e07987bd98c6bd3f6443aec9bff276f1c.zip |
Don't print stacktraces on DLB fetching errors. And because I forgot last commit; this adds BUKKIT-760
-rw-r--r-- | src/main/java/org/bukkit/craftbukkit/updater/BukkitDLUpdaterService.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/craftbukkit/updater/BukkitDLUpdaterService.java b/src/main/java/org/bukkit/craftbukkit/updater/BukkitDLUpdaterService.java index cd598498..fdc6db57 100644 --- a/src/main/java/org/bukkit/craftbukkit/updater/BukkitDLUpdaterService.java +++ b/src/main/java/org/bukkit/craftbukkit/updater/BukkitDLUpdaterService.java @@ -29,9 +29,9 @@ public class BukkitDLUpdaterService { try { return fetchArtifact(slug); } catch (UnsupportedEncodingException ex) { - Logger.getLogger(BukkitDLUpdaterService.class.getName()).log(Level.WARNING, "Could not get Artifact details for the auto-updater", ex); + Logger.getLogger(BukkitDLUpdaterService.class.getName()).log(Level.WARNING, "Could not get Artifact details for the auto-updater: " + ex.getClass().getSimpleName()); } catch (IOException ex) { - Logger.getLogger(BukkitDLUpdaterService.class.getName()).log(Level.WARNING, "Could not get Artifact details for the auto-updater", ex); + Logger.getLogger(BukkitDLUpdaterService.class.getName()).log(Level.WARNING, "Could not get Artifact details for the auto-updater: " + ex.getClass().getSimpleName()); } return null; |