changeset 2919:e4715a609d75

memory (sqlite): minor log improvment
author Goffi <goffi@goffi.org>
date Fri, 26 Apr 2019 11:57:26 +0200
parents 21cf8395616c
children 945e53cde9b2
files sat/memory/sqlite.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/sat/memory/sqlite.py	Fri Apr 26 11:57:26 2019 +0200
+++ b/sat/memory/sqlite.py	Fri Apr 26 11:57:26 2019 +0200
@@ -174,8 +174,10 @@
             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}')