mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-06 18:10:40 +02:00
initialchecks werent being bypassed because of the wrong exception being caught. fixed (#623)
This commit is contained in:
parent
d77b353481
commit
d19f6a3d0d
@ -76,7 +76,7 @@ void Module::setHostname(const std::string &hostname,
|
|||||||
initialDetectorServerChecks();
|
initialDetectorServerChecks();
|
||||||
checkDetectorVersionCompatibility();
|
checkDetectorVersionCompatibility();
|
||||||
LOG(logINFO) << "Module Version Compatibility - Success";
|
LOG(logINFO) << "Module Version Compatibility - Success";
|
||||||
} catch (const DetectorError &e) {
|
} catch (const RuntimeError &e) {
|
||||||
if (!initialChecks) {
|
if (!initialChecks) {
|
||||||
LOG(logWARNING) << "Bypassing Initial Checks at your own risk!";
|
LOG(logWARNING) << "Bypassing Initial Checks at your own risk!";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user