Hello
In StudioX, GlobalExceptionHandler is enabled by default, so it seems to be catching the exception before TryCatch.
You could disable the GlobalHandler setting in Studio, or, although this is an unofficial method, try removing the GlobalHandler setting from project.json using a text editor.
Reference