13
0
geforkt von Mirrors/Paper

Don't print stacktraces on DLB fetching errors. And because I forgot last commit; this adds BUKKIT-760

Dieser Commit ist enthalten in:
Nathan Adams 2012-02-17 00:09:56 +00:00
Ursprung 236cfed616
Commit d057ee1e07

Datei anzeigen

@ -29,9 +29,9 @@ public class BukkitDLUpdaterService {
try { try {
return fetchArtifact(slug); return fetchArtifact(slug);
} catch (UnsupportedEncodingException ex) { } 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) { } 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; return null;