mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
A new first run setup wizard (WIP)
Move all user related links to use user_id instead of username. Remove excess debug loggin. Catch more exceptions on PW importer.
This commit is contained in:
parent
96f48291e5
commit
4f00ecc070
20 changed files with 7975 additions and 94 deletions
|
@ -206,6 +206,9 @@ def validate_database(database=None, table_name=None):
|
|||
except ValueError:
|
||||
logger.error('PlexPy Importer :: Invalid database specified.')
|
||||
return 'Invalid database specified.'
|
||||
except:
|
||||
logger.error('PlexPy Importer :: Uncaught exception.')
|
||||
return 'Uncaught exception.'
|
||||
|
||||
try:
|
||||
connection.execute('SELECT ratingKey from %s' % table_name)
|
||||
|
@ -213,6 +216,9 @@ def validate_database(database=None, table_name=None):
|
|||
except sqlite3.OperationalError:
|
||||
logger.error('PlexPy Importer :: Invalid database specified.')
|
||||
return 'Invalid database specified.'
|
||||
except:
|
||||
logger.error('PlexPy Importer :: Uncaught exception.')
|
||||
return 'Uncaught exception.'
|
||||
|
||||
return 'success'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue