diff --git a/plugins/SliceInfoPlugin/SliceInfo.py b/plugins/SliceInfoPlugin/SliceInfo.py index 5630f76805..57a1db7244 100644 --- a/plugins/SliceInfoPlugin/SliceInfo.py +++ b/plugins/SliceInfoPlugin/SliceInfo.py @@ -47,7 +47,9 @@ class SliceInfoJob(Job): f = urllib.request.urlopen(self.url, **kwoptions) Logger.log("i", "Sent anonymous slice info to %s", self.url) f.close() - except Exception: + except urllib.error.HTTPError as http_exception: + Logger.log("e", "An exception occurred while trying to send slice information: %s" %(repr(http_exception))) + except Exception: # Includes urllib.error.HTTPError, was discussed to be handled like any other exception Logger.logException("e", "An exception occurred while trying to send slice information") ## This Extension runs in the background and sends several bits of information to the Ultimaker servers.