mirror of
https://github.com/meisnate12/Plex-Meta-Manager
synced 2024-11-10 06:54:21 +00:00
[68] catch error
This commit is contained in:
parent
42c457fcc7
commit
f472821f7a
2 changed files with 5 additions and 2 deletions
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
1.18.3-develop67
|
||||
1.18.3-develop68
|
||||
|
|
|
@ -383,7 +383,10 @@ class CollectionBuilder:
|
|||
logger.debug("Validating Method: delete_playlist")
|
||||
logger.debug(f"Value: {data[methods['delete_playlist']]}")
|
||||
if util.parse(self.Type, "delete_playlist", self.data, datatype="bool", methods=methods, default=False):
|
||||
self.obj = self.library.get_playlist(self.name)
|
||||
try:
|
||||
self.obj = self.library.get_playlist(self.name)
|
||||
except Failed as e:
|
||||
logger.error(e)
|
||||
raise Deleted(self.delete())
|
||||
else:
|
||||
self.libraries.append(self.library)
|
||||
|
|
Loading…
Reference in a new issue