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

MetadataParser: Add context with error log

parent 35865129
......@@ -281,7 +281,7 @@ void MetadataAnalyzer::addPlaylistElement( IItem& item,
}
catch ( std::system_error& ex )
{
LOG_ERROR( ex.what() );
LOG_ERROR( "Failed to check if ", mrl, " was a directory: ", ex.what() );
return;
}
LOG_INFO( "Importing ", isDirectory ? "folder " : "file ", mrl, " in the playlist ", playlistMrl );
......
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