This commit is contained in:
nathom 2021-04-02 09:04:47 -07:00
parent 07eb620f77
commit 7f413c8290
1 changed files with 3 additions and 2 deletions

View File

@ -60,5 +60,6 @@ class MusicDB:
(item_id,),
)
conn.commit()
except sqlite3.Error as error:
logger.error("Unexpected DB error: %s, ID: %s", error, item_id)
except sqlite3.Error as e:
if 'UNIQUE' not in str(e):
raise