[build_samples_msvc] Exit properly on error (#20191)

This commit is contained in:
Alina Kladieva 2023-10-02 19:34:08 +02:00 committed by Alexander Nesterov
parent 0f06dc760f
commit 7a48410e78

View File

@ -72,3 +72,4 @@ exit /b
:errorHandling
echo Error
exit /b %ERRORLEVEL%