From af9ab25090f8565851330c00fae11a9e57ef8a4c Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 10 Jan 2016 09:13:50 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/metadata/sources/amazon.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/calibre/ebooks/metadata/sources/amazon.py b/src/calibre/ebooks/metadata/sources/amazon.py index 3b219d2d1e..3e90d35e8f 100644 --- a/src/calibre/ebooks/metadata/sources/amazon.py +++ b/src/calibre/ebooks/metadata/sources/amazon.py @@ -534,9 +534,8 @@ class Worker(Thread): # Get details {{{ desc = nr.xpath('//div[@id="productDescription"]/*[@class="content"]') if desc: ans += self._render_comments(desc[0]) - except Exception: - import traceback - traceback.print_exc() + except Exception as e: + self.log.warn('Parsing of obfuscated product description failed with error: %s' % as_unicode(e)) return ans