Skip to content

Commit

Permalink
use VerifyOrDie instead of assert() (#36583)
Browse files Browse the repository at this point in the history
  • Loading branch information
mykrupp authored Nov 20, 2024
1 parent e1fbaf6 commit 90f96ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/platform/silabs/MatterShell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void cmdSilabsInit()
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
Expand Down

0 comments on commit 90f96ca

Please sign in to comment.