quotes: replace non-functional print() with self.log.error()
This commit is contained in:
parent
f50fe88a14
commit
1149417b56
|
@ -87,7 +87,7 @@ class Quotes(DatabasePlugin):
|
||||||
self.con.commit()
|
self.con.commit()
|
||||||
except Error as ex:
|
except Error as ex:
|
||||||
# Rollback transaction on error
|
# Rollback transaction on error
|
||||||
print(ex)
|
self.log.error(ex)
|
||||||
self.con.rollback()
|
self.con.rollback()
|
||||||
else:
|
else:
|
||||||
query = None
|
query = None
|
||||||
|
|
Loading…
Reference in New Issue
Block a user