I’d say “Nothing”. PowerShell does exactly what’s expected. If there is a terminating error in the try block it will trigger the catch block. There you specified to output the error as warning. Then you explicitly write to the default ouput “Successfully Run”.
If you would not have any error handling that would be the case. But for that reason we use error handling. To avoid to confront the user with an unhandled error.
Just remove the try catch block and you will see.
BTW: only with a terminating error the script would stop. A non-terminating error would not terminate the script execution.