add podcasts

This commit is contained in:
Benjamin Takats
2023-01-24 18:10:02 +01:00
parent 56c2ea8754
commit 2a9002f035

View File

@@ -19,6 +19,7 @@ class LibraryItemObserver
public function created(LibraryItem $libraryItem) public function created(LibraryItem $libraryItem)
{ {
// todo: we can change this later // todo: we can change this later
try {
$libraryItem->setStatus('published'); $libraryItem->setStatus('published');
$libraryItemName = $libraryItem->name; $libraryItemName = $libraryItem->name;
@@ -52,6 +53,9 @@ class LibraryItemObserver
//$this->postTweet($text); //$this->postTweet($text);
} }
} }
} catch (\Exception $e) {
// todo: log this
}
} }
/** /**