mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2025-09-05 10:12:46 +00:00
Loader: catch exceptions and reemit them as errors
This reduces application crashes when an invalid JSON response has been returned.
This commit is contained in:
parent
7f39da0b95
commit
5a24bdee59
2 changed files with 10 additions and 4 deletions
|
@ -361,6 +361,7 @@ void PlaybackManager::onItemUrlReceived(const QString &itemId, const QUrl &url,
|
|||
void PlaybackManager::onItemErrorReceived(const QString &itemId, const QString &errorString) {
|
||||
Q_UNUSED(itemId)
|
||||
Q_UNUSED(errorString)
|
||||
qWarning() << "Error while fetching streaming url for " << itemId << ": " << errorString;
|
||||
}
|
||||
|
||||
} // NS ViewModel
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue