GUI: try to be more helpful when a main index open error occurs

This commit is contained in:
Jean-Francois Dockes
2022-06-02 12:08:32 +02:00
parent 8bd1494fd3
commit 4e8cc666f0
3 changed files with 16 additions and 10 deletions
+1 -1
View File
@@ -529,7 +529,7 @@ bool Db::dirlist(int depth, std::string& root, std::vector<std::string>& dirs)
break;
}
if (!m_reason.empty()) {
LOGERR("Db::dirlist: " << m_reason << "\n");
LOGERR("Db::dirlist: exception while accessing index: " << m_reason << "\n");
return false;
}