Log the error instead of throwing.

This commit is contained in:
Robin E.R. Davies
2026-01-11 17:57:07 -05:00
parent 161c614c38
commit edd0940004
2 changed files with 29 additions and 122 deletions
+7 -2
View File
@@ -277,8 +277,13 @@ int main(int argc, char *argv[])
const std::filesystem::path webTempDirectory = "/var/pipedal/web_temp";
if (!webTempDirectory.empty())
{
std::filesystem::remove_all(webTempDirectory); //// user must belong to the pipedald grop when debugging.
std::filesystem::create_directories(webTempDirectory);
try {
std::filesystem::remove_all(webTempDirectory); //// user must belong to the pipedald grop when debugging.
std::filesystem::create_directories(webTempDirectory);
}
catch (const std::exception e) {
Lv2Log::warning(e.what());
}
}
// configure AudiDirectoryInfo to use the correct directories.