trace insert failures

This commit is contained in:
j 2019-01-21 12:37:59 +05:30
parent f104a688f2
commit 5c879be91b

View file

@ -79,7 +79,7 @@ class Icons(dict):
c.close()
conn.close()
except:
logger.debug('failed to insert icon %s', id)
logger.debug('failed to insert icon %s', id, exc_info=True)
def __delitem__(self, id):
sql = 'DELETE FROM icon WHERE id = ?'