Commit c4e36731 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

parser: Work around an uncatched exception on android

Without the error message or a local reproduction, this can't really be
fixed, so apply a work around for the vlc-android 3.1.0 release
parent ab676907
Pipeline #5616 failed with stages
in 6 minutes and 47 seconds
......@@ -215,6 +215,8 @@ void Worker::mainloop()
auto duration = std::chrono::steady_clock::now() - chrono;
LOG_INFO( "Done executing ", serviceName, " task on ", task->item().mrl(), " in ",
std::chrono::duration_cast<std::chrono::milliseconds>( duration ).count(), "ms" );
if ( handleServiceResult( *task, status ) == false )
status = Status::Fatal;
}
catch ( const fs::DeviceRemovedException& )
{
......@@ -227,8 +229,6 @@ void Worker::mainloop()
LOG_ERROR( "Caught an exception during ", task->item().mrl(), " [", serviceName, "] parsing: ", ex.what() );
status = Status::Fatal;
}
if ( handleServiceResult( *task, status ) == false )
status = Status::Fatal;
m_parserCb->done( std::move( task ), status );
}
LOG_INFO("Exiting ParserService [", serviceName, "] thread");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment