mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-05-08 02:15:08 +00:00
Merge branch 'develop' of https://github.com/MediaBrowser/plugin.video.emby into develop
This commit is contained in:
commit
caead29793
2 changed files with 3 additions and 4 deletions
|
@ -29,9 +29,8 @@ def catch_except(errors=(Exception, ), default_value=False):
|
|||
def wrapper(*args, **kwargs):
|
||||
try:
|
||||
return func(*args, **kwargs)
|
||||
except sqlite3.OperationalError as error:
|
||||
if "database is locked" in error:
|
||||
raise
|
||||
except sqlite3.Error as error:
|
||||
raise
|
||||
except errors as error:
|
||||
errStrings = ga.formatException()
|
||||
ga.sendEventData("Exception", errStrings[0], errStrings[1], True)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue