@ashoks93
I was able to isolate your problem to your project.json file.
- I took the .zip project file you posted, extracted, and then ran your Process.xaml.
- I confirmed that the Try Catch 2 was not catching the error when you input a string in the input dialog accepting an output of int32.
- I deleted your project.json file, and then reopened the project to generate a new, clean project.json file.
- I re-tried your Process.xaml
- This time, Try Catch 2 was catching the error.
So something’s up with your project.json file, dude. I couldn’t tell you what, though! Would need more testing and isolating within the scope of your project.