Show error message when db failed to rebuild (#2043)
* Show error message when db failed to rebuild; fix #1908; * Forgot file
This commit is contained in:
parent
d38846f126
commit
9cda561091
4 changed files with 19 additions and 4 deletions
|
@ -264,6 +264,7 @@ class Db(object):
|
|||
changed_tables.append(table_name)
|
||||
except Exception as err:
|
||||
self.log.error("Error creating table %s: %s" % (table_name, Debug.formatException(err)))
|
||||
return False
|
||||
|
||||
self.log.debug("Db check done in %.3fs, changed tables: %s" % (time.time() - s, changed_tables))
|
||||
if changed_tables:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue