From 26d5e73788828d9a2b9fa360accb336e1ad809ce Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Mon, 23 Oct 2017 19:44:43 +0530 Subject: [PATCH] Fix build error --- buku.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/buku.py b/buku.py index d34a7cc..1a751df 100755 --- a/buku.py +++ b/buku.py @@ -1574,7 +1574,8 @@ class BukuDb: for index in tagset: try: tags.append(delim_wrap(unique_tags[int(index) - 1])) - except: + except Exception as e: + logerr(e) continue return parse_tags(tags) @@ -1724,7 +1725,8 @@ class BukuDb: try: self.conn.commit() - except: + except Exception as e: + logerr(e) return -1 return update_count