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

MediaLibrary: Include the thumbnail path in the error message

parent 73844878
......@@ -278,7 +278,8 @@ InitializeResult MediaLibrary::initialize( const std::string& dbPath,
{
if ( errno != EEXIST )
{
LOG_ERROR( "Failed to create thumbnail directory: ", strerror( errno ) );
LOG_ERROR( "Failed to create thumbnail directory (", thumbnailPath,
": ", strerror( errno ) );
return InitializeResult::Failed;
}
}
......
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