Fix exceptions referenced in #1287

This commit is contained in:
AlexandreRouma
2024-01-22 19:46:01 +01:00
parent 159f59b858
commit 27ab5bf3c1
13 changed files with 26 additions and 26 deletions

View File

@ -139,8 +139,8 @@ private:
//gui::freqSelect.maxFreq = _this->centerFreq + (_this->sampleRate/2);
//gui::freqSelect.limitFreq = true;
}
catch (std::exception& e) {
flog::error("Error: {0}", e.what());
catch (const std::exception& e) {
flog::error("Error: {}", e.what());
}
config.acquire();
config.conf["path"] = _this->fileSelect.path;