[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 GitHub
parent 33881542c5
commit 86dfacbc51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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