Skip to content

Commit 3435c01

Browse files
committed
Don't continue to load if the update failed
1 parent f0229e7 commit 3435c01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/loader/loader_main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ bool CSourcePython::Load( CreateInterfaceFn interfaceFactory, CreateInterfaceFn
196196
catch (const std::exception& e)
197197
{
198198
Msg(MSG_PREFIX "An error occured during update stage 2:\n%s\n", e.what());
199+
return false;
199200
}
200201
}
201202

0 commit comments

Comments
 (0)