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

ParserWorker: Log the parser service result

parent 9cefea9c
Pipeline #6995 passed with stages
in 19 minutes and 8 seconds
......@@ -214,7 +214,9 @@ void Worker::mainloop()
status = m_service->run( task->item() );
auto duration = std::chrono::steady_clock::now() - chrono;
LOG_DEBUG( "Done executing ", serviceName, " task on ", task->item().mrl(), " in ",
std::chrono::duration_cast<std::chrono::milliseconds>( duration ).count(), "ms" );
std::chrono::duration_cast<std::chrono::milliseconds>( duration ).count(),
"ms. Result: ",
static_cast<std::underlying_type_t<parser::Status>>( status ) );
}
catch ( const fs::DeviceRemovedException& )
{
......
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