Added try/catch #5427

Nit: please add a space between `try` and `{`.