diff options
| author | 2018-02-18 13:46:22 +0100 | |
|---|---|---|
| committer | 2018-02-18 13:46:22 +0100 | |
| commit | 2bff837cdeb6e43b67266c06c51f7344af45fa0a (patch) | |
| tree | 77283b179b56ca8f32b9b3ef74d3ab49beba25cd /pysite | |
| parent | typo in a comment was driving me nuts. (diff) | |
adding one line of logging to debug a problem with rethinkdb
Diffstat (limited to 'pysite')
| -rw-r--r-- | pysite/database.py | 1 |
1 files changed, 1 insertions, 0 deletions
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)") |