[68] catch error

pull/1315/head
meisnate12 2 years ago
parent 42c457fcc7
commit f472821f7a

@ -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):
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…
Cancel
Save