use VerifyOrDie instead of assert() (#36583)
diff --git a/examples/platform/silabs/MatterShell.cpp b/examples/platform/silabs/MatterShell.cpp
index 6088eeb..38f9738 100644
--- a/examples/platform/silabs/MatterShell.cpp
+++ b/examples/platform/silabs/MatterShell.cpp
@@ -114,7 +114,7 @@
void startShellTask()
{
int status = chip::Shell::Engine::Root().Init();
- assert(status == 0);
+ VerifyOrDie(status == 0);
// For now also register commands from shell_common (shell app).
// TODO move at least OTCLI to default commands in lib/shell/commands