Catch a more general form of exception, as we don't make use of the more specific. Had issues with Runtime type information on OSX, not sure exactly what the

problem is but this generalization of exception handling seem to make it work safely.
This commit is contained in:
torger
2014-03-21 13:20:34 +01:00
parent c8117e54ef
commit 81f5e72b82
5 changed files with 9 additions and 9 deletions

View File

@@ -281,7 +281,7 @@ void CacheManager::deleteDir (const Glib::ustring& dirName) {
safe_g_remove (Glib::build_filename (Glib::build_filename (baseDir, dirName), *i));
delete dir;
}
catch (const Glib::FileError& fe) {
catch (const Glib::Error& e) {
}
}