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()
|
||||
except Error as ex:
|
||||
# Rollback transaction on error
|
||||
print(ex)
|
||||
self.log.error(ex)
|
||||
self.con.rollback()
|
||||
else:
|
||||
query = None
|
||||
|
|
Loading…
Reference in New Issue
Block a user