memory (sqlite): minor log improvment
This commit is contained in:
parent
621c6b3ffa
commit
98098105e7
1 changed files with 4 additions and 2 deletions
|
|
@ -174,8 +174,10 @@ class ConnectionPool(adbapi.ConnectionPool):
|
|||
if retry == 0:
|
||||
log.error(
|
||||
_(u'too many interaction tries, we abandon! Error message: {msg}\n'
|
||||
u'interaction was {args}'
|
||||
.format(msg=e, args=u' '.join([unicode(a) for a in args]))))
|
||||
u'interaction method was: {interaction}\n'
|
||||
u'interaction arguments were: {args}'
|
||||
.format(msg=e, interaction=interaction,
|
||||
args=u', '.join([unicode(a) for a in args]))))
|
||||
raise e
|
||||
log.warning(
|
||||
_(u'exception while running interaction, retrying ({try_}): {msg}')
|
||||
|
|
|
|||
Loading…
Reference in a new issue