Added catching of missing invalid_request

pull/1813/head
Ozzie Isaacs 3 years ago
parent 6f9e52792a
commit 263a8f9048

@ -184,7 +184,7 @@ def toggle_read(book_id):
calibre_db.session.commit()
except (KeyError, AttributeError):
log.error(u"Custom Column No.%d is not exisiting in calibre database", config.config_read_column)
except (OperationalError, OperationalError) as e:
except (OperationalError, InvalidRequestError) as e:
calibre_db.session.rollback()
log.error(u"Read status could not set: %e", e)

Loading…
Cancel
Save