From 2bff837cdeb6e43b67266c06c51f7344af45fa0a Mon Sep 17 00:00:00 2001 From: Leon Sandøy Date: Sun, 18 Feb 2018 13:46:22 +0100 Subject: adding one line of logging to debug a problem with rethinkdb --- pysite/database.py | 1 + 1 file changed, 1 insertion(+) (limited to 'pysite') diff --git a/pysite/database.py b/pysite/database.py index 589b77d1..f031e2a8 100644 --- a/pysite/database.py +++ b/pysite/database.py @@ -82,6 +82,7 @@ class RethinkDB: with self.get_connection() as conn: all_tables = rethinkdb.db(self.database).table_list().run(conn) + self.log.debug(f"Call to table_list returned the following list of tables: {all_tables}") if table_name in all_tables: self.log.debug(f"Table found: '{table_name}' ({len(all_tables)} tables in total)") -- cgit v1.2.3