avoid exceptions
This commit is contained in:
@ -174,7 +174,8 @@ bool PersistentTmStore::updateBaseDir() {
|
||||
return false;
|
||||
}
|
||||
basePath = path(currentPrefix) / baseDir / baseName;
|
||||
if (not exists(basePath)) {
|
||||
std::error_code e;
|
||||
if (not exists(basePath, e)) {
|
||||
create_directories(basePath);
|
||||
}
|
||||
baseDirUninitialized = false;
|
||||
|
Reference in New Issue
Block a user