Treat erors returned by the URL handler as non fatal

Fixes #505
This commit is contained in:
Jonas Kvinge 2020-08-09 02:52:18 +02:00
parent c15103636c
commit 16a753bd95
1 changed files with 1 additions and 2 deletions

View File

@ -258,8 +258,7 @@ void Player::HandleLoadResult(const UrlHandler::LoadResult &result) {
switch (result.type_) {
case UrlHandler::LoadResult::Error:
if (is_current) {
EngineStateChanged(Engine::Error);
FatalError();
InvalidSongRequested(result.original_url_);
}
emit Error(result.error_);
break;