# the trick is using the `then` keyword try fail() catch e then console.log e