Skip to content

Commit f6f4159

Browse files
authored
registry: do not crash when dashboard is disabled (#282)
Signed-off-by: Marius Börschig <[email protected]>
1 parent d4d01d4 commit f6f4159

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Utilities/SilKitRegistry/Registry.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,10 +207,12 @@ auto StartRegistry(std::shared_ptr<SilKit::Config::IParticipantConfiguration> co
207207
catch (const std::exception& exception)
208208
{
209209
std::cerr << "error during dashboard instance creation: " << exception.what() << std::endl;
210+
enableDashboard = false;
210211
}
211212
catch (...)
212213
{
213214
std::cerr << "unknown error during dashboard instance creation" << std::endl;
215+
enableDashboard = false;
214216
}
215217
}
216218

0 commit comments

Comments
 (0)