Wrapped actions in a try catch to handle errors more transparently.